diff options
| author | 2020-02-18 15:03:08 -0800 | |
|---|---|---|
| committer | 2020-03-16 17:57:12 +0100 | |
| commit | 92daa48b34d784748b575ae424def4ea7f024b2f (patch) | |
| tree | a8bc39b2165d069348873967f573012e312a4891 /tools/perf/scripts/python | |
| parent | KVM: apic: remove unused function apic_lvt_vector() (diff) | |
KVM: x86: Add EMULTYPE_PF when emulation is triggered by a page fault
Add a new emulation type flag to explicitly mark emulation related to a
page fault. Move the propation of the GPA into the emulator from the
page fault handler into x86_emulate_instruction, using EMULTYPE_PF as an
indicator that cr2 is valid. Similarly, don't propagate cr2 into the
exception.address when it's *not* valid.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
