KVM: nSVM: Preserve IRQ/NMI/SMI priority irrespective of exiting behavior
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Apr 2020 12:13:10 +0000 (08:13 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 May 2020 16:14:45 +0000 (12:14 -0400)
commit221e761090b4ffadf41acaca1e1f6dd97d84ef4f
treee45e99167f3366c3ca51d451fbdc70508c993e7d
parentfc6f7c03ad80693c953d5cdacfad41f174289531
KVM: nSVM: Preserve IRQ/NMI/SMI priority irrespective of exiting behavior

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

Fixes: b518ba9fa691 ("KVM: nSVM: implement check_nested_events for interrupts")
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c