diff options
| author | Aaron Lewis <[email protected]> | 2021-05-10 14:48:33 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-06-24 22:00:48 +0000 |
| commit | 19238e75bd8ed8ffe784bf5b37586e77b2093742 (patch) | |
| tree | 13d0d58c59af12f70c7ae7b3f83a4c6a0e755a29 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | KVM: x86/mmu: Let guest use GBPAGES if supported in hardware and TDP is on (diff) | |
| download | kernel-19238e75bd8ed8ffe784bf5b37586e77b2093742.tar.gz kernel-19238e75bd8ed8ffe784bf5b37586e77b2093742.zip | |
kvm: x86: Allow userspace to handle emulation errors
Add a fallback mechanism to the in-kernel instruction emulator that
allows userspace the opportunity to process an instruction the emulator
was unable to. When the in-kernel instruction emulator fails to process
an instruction it will either inject a #UD into the guest or exit to
userspace with exit reason KVM_INTERNAL_ERROR. This is because it does
not know how to proceed in an appropriate manner. This feature lets
userspace get involved to see if it can figure out a better path
forward.
Signed-off-by: Aaron Lewis <[email protected]>
Reviewed-by: David Edmondson <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
