]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: Report NMIs as allowed when in L2 and Exit-on-NMI is set
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Apr 2020 12:06:43 +0000 (08:06 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 May 2020 16:14:33 +0000 (12:14 -0400)
commit4224636af0f1e23d99a5460fb80963c21ca33e42
tree98d45b21583e43e07335386ed7df34829051bc62
parentfc3da98bc5d3cd9aa872af968592fd2cc8bb790a
KVM: nSVM: Report NMIs as allowed when in L2 and Exit-on-NMI is set

Report NMIs as allowed when the vCPU is in L2 and L2 is being run with
Exit-on-NMI enabled, as NMIs are always unblocked from L1's perspective
in this case.

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