aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-02-18 15:03:08 -0800
committerPaolo Bonzini <[email protected]>2020-03-16 17:57:12 +0100
commit92daa48b34d784748b575ae424def4ea7f024b2f (patch)
treea8bc39b2165d069348873967f573012e312a4891 /tools/perf/scripts/python/intel-pt-events.py
parent999eabcc89b0e99a699d2946086a97537c3eff14 (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 <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions