linux_dsm_epyc7002/arch/x86/kvm/svm
Paolo Bonzini 55714cddbf KVM: nSVM: Move SMI vmexit handling to svm_check_nested_events()
Unlike VMX, SVM allows a hypervisor to take a SMI vmexit without having
any special SMM-monitor enablement sequence.  Therefore, it has to be
handled like interrupts and NMIs.  Check for an unblocked SMI in
svm_check_nested_events() so that pending SMIs are correctly prioritized
over IRQs and NMIs when the latter events will trigger VM-Exit.

Note that there is no need to test explicitly for SMI vmexits, because
guests always runs outside SMM and therefore can never get an SMI while
they are blocked.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-05-13 12:14:38 -04:00
..
avic.c KVM: SVM: Move AVIC code to separate file 2020-04-03 10:53:56 -04:00
nested.c KVM: nSVM: Move SMI vmexit handling to svm_check_nested_events() 2020-05-13 12:14:38 -04:00
pmu.c kVM SVM: Move SVM related files to own sub-directory 2020-04-03 10:53:47 -04:00
sev.c KVM: SVM: Fix build error due to missing release_pages() include 2020-04-15 12:08:37 -04:00
svm.c KVM: nSVM: Move SMI vmexit handling to svm_check_nested_events() 2020-05-13 12:14:38 -04:00
svm.h KVM: nSVM: Move SMI vmexit handling to svm_check_nested_events() 2020-05-13 12:14:38 -04:00
vmenter.S KVM: SVM: Do not setup frame pointer in __svm_vcpu_run 2020-04-15 12:08:38 -04:00