aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/vmx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index e8fed9b8756e..9591ca73191c 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -2224,9 +2224,6 @@ static void kvm_guest_debug_pre(struct kvm_vcpu *vcpu)
2224static int handle_rmode_exception(struct kvm_vcpu *vcpu, 2224static int handle_rmode_exception(struct kvm_vcpu *vcpu,
2225 int vec, u32 err_code) 2225 int vec, u32 err_code)
2226{ 2226{
2227 if (!vcpu->arch.rmode.active)
2228 return 0;
2229
2230 /* 2227 /*
2231 * Instruction with address size override prefix opcode 0x67 2228 * Instruction with address size override prefix opcode 0x67
2232 * Cause the #SS fault with 0 error code in VM86 mode. 2229 * Cause the #SS fault with 0 error code in VM86 mode.