]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Report NMIs as allowed when in L2 and Exit-on-NMI is set
authorSean Christopherson <sean.j.christopherson@intel.com>
Thu, 23 Apr 2020 02:25:42 +0000 (19:25 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 May 2020 16:14:32 +0000 (12:14 -0400)
commit742ca719647904638ac2bb3c5f15e70aa9fc9aff
treee730fed85cd3cdec58093ce75cc446cb8bb2a51c
parent5c1c3e3e53d700a0839763793b3a9d10fb21abb4
KVM: nVMX: 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: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200423022550.15113-7-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/nested.h
arch/x86/kvm/vmx/vmx.c