]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9a32f13f438e3fb2221d1e1535bbc18eb833503
treee45e99167f3366c3ca51d451fbdc70508c993e7d
parentc807d1d4091af05c4cff812e1abfa5cb5b24bbbd
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: 939f6001c144 ("KVM: nSVM: implement check_nested_events for interrupts")
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c