]> git.karo-electronics.de Git - linux-beck.git/commitdiff
KVM: VMX: Emulate invalid guest state by default
authorAvi Kivity <avi@redhat.com>
Tue, 12 Jun 2012 17:30:18 +0000 (20:30 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 9 Jul 2012 11:19:05 +0000 (14:19 +0300)
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>
arch/x86/kvm/vmx.c

index c61eb34a39e7d751dda8f1d00c0a33f4e7504528..a2b9dd9af620a94a2022a8de088fde2d4c65f8a5 100644 (file)
@@ -74,7 +74,7 @@ module_param_named(unrestricted_guest,
 static bool __read_mostly enable_ept_ad_bits = 1;
 module_param_named(eptad, enable_ept_ad_bits, bool, S_IRUGO);
 
-static bool __read_mostly emulate_invalid_guest_state = 0;
+static bool __read_mostly emulate_invalid_guest_state = true;
 module_param(emulate_invalid_guest_state, bool, S_IRUGO);
 
 static bool __read_mostly vmm_exclusive = 1;