]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Preserve IRQ/NMI priority irrespective of exiting behavior
authorSean Christopherson <sean.j.christopherson@intel.com>
Thu, 23 Apr 2020 02:25:45 +0000 (19:25 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 May 2020 16:14:42 +0000 (12:14 -0400)
commitddb3fda640cfa2d5065bd624ab39e42cd0e5b3dd
tree1b0a8338f50085964f29ccc5f86dc0dfa46c1614
parent6d4b6e5262c36f3dad87858fbe421bc38fddc778
KVM: nVMX: Preserve IRQ/NMI priority irrespective of exiting behavior

Short circuit vmx_check_nested_events() if an unblocked IRQ/NMI is
pending and needs to be injected into L2, priority between coincident
events is not dependent on exiting behavior.

Fixes: cb70ce3db73c ("KVM: nVMX: Rework interception of IRQs and NMIs")
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200423022550.15113-9-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c