diff options
author | Avi Kivity <avi@redhat.com> | 2012-06-12 13:30:18 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-07-09 07:19:05 -0400 |
commit | a27685c33acccce91268ddef88d7896e3205fda5 (patch) | |
tree | 0dfc9ee0b7dae968097e09b1daa330a7202f2470 /arch/x86 | |
parent | 80890006167ec3e570bfd7cee7a05db17d339726 (diff) |
KVM: VMX: Emulate invalid guest state by default
Our emulation should be complete enough that we can emulate guests
while they are in big real mode, or in a mode transition that is not
virtualizable without unrestricted guest support.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index c61eb34a39e7..a2b9dd9af620 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -74,7 +74,7 @@ module_param_named(unrestricted_guest, | |||
74 | static bool __read_mostly enable_ept_ad_bits = 1; | 74 | static bool __read_mostly enable_ept_ad_bits = 1; |
75 | module_param_named(eptad, enable_ept_ad_bits, bool, S_IRUGO); | 75 | module_param_named(eptad, enable_ept_ad_bits, bool, S_IRUGO); |
76 | 76 | ||
77 | static bool __read_mostly emulate_invalid_guest_state = 0; | 77 | static bool __read_mostly emulate_invalid_guest_state = true; |
78 | module_param(emulate_invalid_guest_state, bool, S_IRUGO); | 78 | module_param(emulate_invalid_guest_state, bool, S_IRUGO); |
79 | 79 | ||
80 | static bool __read_mostly vmm_exclusive = 1; | 80 | static bool __read_mostly vmm_exclusive = 1; |