KVM: SVM: Implement check_nested_events for NMI
authorCathy Avery <cavery@redhat.com>
Tue, 14 Apr 2020 20:11:06 +0000 (16:11 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 May 2020 16:14:24 +0000 (12:14 -0400)
commit9c3d370a8efaac49b0520617c9ab4e552aefbf1e
tree0f01cd29e4cc55cf31e8bbf016b5f435a4aa37bf
parent6e085cbfb0f0c7de4ca0f370adb572b0e07a818c
KVM: SVM: Implement check_nested_events for NMI

Migrate nested guest NMI intercept processing
to new check_nested_events.

Signed-off-by: Cathy Avery <cavery@redhat.com>
Message-Id: <20200414201107.22952-2-cavery@redhat.com>
[Reorder clauses as NMIs have higher priority than IRQs; inject
 immediate vmexit as is now done for IRQ vmexits. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h