diff options
author | Sean Christopherson <seanjc@google.com> | 2022-03-04 07:20:17 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-29 19:49:49 +0300 |
commit | 6819af7597d87d40769b47bb377472877a6b56c0 (patch) | |
tree | b374084b3096f02be7755060ce7cdd5debd3eefd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 25cc05652cd6be7349c84abbea3886b5483330cd (diff) | |
download | linux-6819af7597d87d40769b47bb377472877a6b56c0.tar.xz |
KVM: x86: Clean up and document nested #PF workaround
Replace the per-vendor hack-a-fix for KVM's #PF => #PF => #DF workaround
with an explicit, common workaround in kvm_inject_emulated_page_fault().
Aside from being a hack, the current approach is brittle and incomplete,
e.g. nSVM's KVM_SET_NESTED_STATE fails to set ->inject_page_fault(),
and nVMX fails to apply the workaround when VMX is intercepting #PF due
to allow_smaller_maxphyaddr=1.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions