diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-02-18 15:03:08 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 17:57:12 +0100 |
| commit | 92daa48b34d784748b575ae424def4ea7f024b2f (patch) | |
| tree | a8bc39b2165d069348873967f573012e312a4891 /tools/perf/scripts/python/bin | |
| parent | 999eabcc89b0e99a699d2946086a97537c3eff14 (diff) | |
| download | linux-92daa48b34d784748b575ae424def4ea7f024b2f.tar.gz linux-92daa48b34d784748b575ae424def4ea7f024b2f.zip | |
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/bin')
0 files changed, 0 insertions, 0 deletions
