aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 36786bbb4c0..99bed74779d 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -4516,6 +4516,9 @@ int x86_emulate_instruction(struct kvm_vcpu *vcpu,
4516restart: 4516restart:
4517 r = x86_emulate_insn(&vcpu->arch.emulate_ctxt); 4517 r = x86_emulate_insn(&vcpu->arch.emulate_ctxt);
4518 4518
4519 if (r == EMULATION_INTERCEPTED)
4520 return EMULATE_DONE;
4521
4519 if (r == EMULATION_FAILED) { 4522 if (r == EMULATION_FAILED) {
4520 if (reexecute_instruction(vcpu, cr2)) 4523 if (reexecute_instruction(vcpu, cr2))
4521 return EMULATE_DONE; 4524 return EMULATE_DONE;