OSDN Git Service

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)
commitbbdad0b5a708ddb37a9f051504c2133fa92df97a
tree98d45b21583e43e07335386ed7df34829051bc62
parent429ab576f387c8fcaeb2a172901aaba3c6794310
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