diff options
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index e889b768c751..7c5f611e1a94 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -49,6 +49,9 @@ module_param(flexpriority_enabled, bool, 0); | |||
49 | static int enable_ept = 1; | 49 | static int enable_ept = 1; |
50 | module_param(enable_ept, bool, 0); | 50 | module_param(enable_ept, bool, 0); |
51 | 51 | ||
52 | static int emulate_invalid_guest_state = 0; | ||
53 | module_param(emulate_invalid_guest_state, bool, 0); | ||
54 | |||
52 | struct vmcs { | 55 | struct vmcs { |
53 | u32 revision_id; | 56 | u32 revision_id; |
54 | u32 abort; | 57 | u32 abort; |
@@ -86,6 +89,7 @@ struct vcpu_vmx { | |||
86 | } irq; | 89 | } irq; |
87 | } rmode; | 90 | } rmode; |
88 | int vpid; | 91 | int vpid; |
92 | bool emulation_required; | ||
89 | }; | 93 | }; |
90 | 94 | ||
91 | static inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) | 95 | static inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) |