diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-23 08:17:28 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-13 12:14:38 -0400 |
| commit | 55714cddbf1028bbfa19fd7d69182de3f135ce99 (patch) | |
| tree | 30008edbeb26ad9c600a072b1177dca875f21e82 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | KVM: nSVM: Report NMIs as allowed when in L2 and Exit-on-NMI is set (diff) | |
| download | linux-55714cddbf1028bbfa19fd7d69182de3f135ce99.tar.gz linux-55714cddbf1028bbfa19fd7d69182de3f135ce99.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
