diff options
author | 2021-11-02 17:15:30 +0800 | |
---|---|---|
committer | 2021-12-08 04:25:15 -0500 | |
commit | 906fa90416fdb703467926ca4f6f55438cd7ea82 (patch) | |
tree | cd9523efb3d6892e80a72d2642c02a41fa6052dc /tools/perf/scripts/python/export-to-sqlite.py | |
parent | KVM: x86: Handle 32-bit wrap of EIP for EMULTYPE_SKIP with flat code seg (diff) | |
download | linux-dev-906fa90416fdb703467926ca4f6f55438cd7ea82.tar.xz linux-dev-906fa90416fdb703467926ca4f6f55438cd7ea82.zip |
KVM: x86: Add an emulation type to handle completion of user exits
The next patch would use kvm_emulate_instruction() with
EMULTYPE_SKIP in complete_userspace_io callback to fix a
problem in msr access emulation. However, EMULTYPE_SKIP
only updates RIP, more things like updating interruptibility
state and injecting single-step #DBs would be done in the
callback. Since the emulator also does those things after
x86_emulate_insn(), add a new emulation type to pair with
EMULTYPE_SKIP to do those things for completion of user exits
within the emulator.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Hou Wenlong <houwenlong93@linux.alibaba.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <8f8c8e268b65f31d55c2881a4b30670946ecfa0d.1635842679.git.houwenlong93@linux.alibaba.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions