aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMaxim Levitsky <[email protected]>2022-10-25 15:47:30 +0300
committerPaolo Bonzini <[email protected]>2022-10-28 06:10:29 -0400
commit055f37f84e304e59c046d1accfd8f08462f52c4c (patch)
treec57290148e006a4dad37d1277ed3e1f24dea5c6c /tools/perf/util/trace-event-scripting.c
parentd087e0f79fa0dd336a9a6b2f79ec23120f5eff73 (diff)
KVM: x86: emulator: update the emulation mode after rsm
Update the emulation mode after RSM so that RIP will be correctly written back, because the RSM instruction can switch the CPU mode from 32 bit (or less) to 64 bit. This fixes a guest crash in case the #SMI is received while the guest runs a code from an address > 32 bit. Signed-off-by: Maxim Levitsky <[email protected]> Message-Id: <[email protected]> Cc: [email protected] Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions