diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/vmx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 2e51e7c6d2a8..a62f92ab1be2 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -4986,6 +4986,9 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu) | |||
4986 | if (intr_window_requested && vmx_interrupt_allowed(vcpu)) | 4986 | if (intr_window_requested && vmx_interrupt_allowed(vcpu)) |
4987 | return handle_interrupt_window(&vmx->vcpu); | 4987 | return handle_interrupt_window(&vmx->vcpu); |
4988 | 4988 | ||
4989 | if (test_bit(KVM_REQ_EVENT, &vcpu->requests)) | ||
4990 | return 1; | ||
4991 | |||
4989 | err = emulate_instruction(vcpu, 0); | 4992 | err = emulate_instruction(vcpu, 0); |
4990 | 4993 | ||
4991 | if (err == EMULATE_DO_MMIO) { | 4994 | if (err == EMULATE_DO_MMIO) { |