diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-20 06:22:59 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-21 03:35:42 -0400 |
commit | 3a25dfa67fe40f3a2690af2c562e0947a78bd6a0 (patch) | |
tree | 7dcffe974e927a2ce1f358e0622a5cad9c61da59 /arch/x86/kvm/fpu.h | |
parent | de7cd3f6761f49bef044ec49493d88737a70f1a6 (diff) |
KVM: nVMX: promptly process interrupts delivered while in guest mode
Since commit c300ab9f08df ("KVM: x86: Replace late check_nested_events() hack with
more precise fix") there is no longer the certainty that check_nested_events()
tries to inject an external interrupt vmexit to L1 on every call to vcpu_enter_guest.
Therefore, even in that case we need to set KVM_REQ_EVENT. This ensures
that inject_pending_event() is called, and from there kvm_check_nested_events().
Fixes: c300ab9f08df ("KVM: x86: Replace late check_nested_events() hack with more precise fix")
Cc: stable@vger.kernel.org
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/fpu.h')
0 files changed, 0 insertions, 0 deletions