diff options
| author | Sean Christopherson <[email protected]> | 2020-02-18 15:03:08 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-03-16 17:57:12 +0100 |
| commit | 92daa48b34d784748b575ae424def4ea7f024b2f (patch) | |
| tree | a8bc39b2165d069348873967f573012e312a4891 /tools/perf/scripts/python | |
| parent | 999eabcc89b0e99a699d2946086a97537c3eff14 (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')
0 files changed, 0 insertions, 0 deletions