Skip to content

Commit a27685c

Browse files
committed
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 <[email protected]>
1 parent 8089000 commit a27685c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kvm/vmx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ module_param_named(unrestricted_guest,
7474
static bool __read_mostly enable_ept_ad_bits = 1;
7575
module_param_named(eptad, enable_ept_ad_bits, bool, S_IRUGO);
7676

77-
static bool __read_mostly emulate_invalid_guest_state = 0;
77+
static bool __read_mostly emulate_invalid_guest_state = true;
7878
module_param(emulate_invalid_guest_state, bool, S_IRUGO);
7979

8080
static bool __read_mostly vmm_exclusive = 1;

0 commit comments

Comments
 (0)