diff options
| author | Sean Christopherson <[email protected]> | 2020-03-20 14:28:01 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-04-15 12:08:50 -0400 |
| commit | 53b3d8e9d57753295b33065f80b1e2fb4fcb946d (patch) | |
| tree | b31d3a5f8715910f4513d6ecec1ef3c20d82e10e /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d6e3f8385d27e6357221e01158fdd369f762cd0f (diff) | |
KVM: x86: Export kvm_propagate_fault() (as kvm_inject_emulated_page_fault)
Export the page fault propagation helper so that VMX can use it to
correctly emulate TLB invalidation on page faults in an upcoming patch.
In the (hopefully) not-too-distant future, SGX virtualization will also
want access to the helper for injecting page faults to the correct level
(L1 vs. L2) when emulating ENCLS instructions.
Rename the function to kvm_inject_emulated_page_fault() to clarify that
it is (a) injecting a fault and (b) only for page faults. WARN if it's
invoked with an exception other than PF_VECTOR.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions