summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMaxim Levitsky <mlevitsk@redhat.com>2022-10-25 15:47:30 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-10-28 13:10:29 +0300
commit055f37f84e304e59c046d1accfd8f08462f52c4c (patch)
treec57290148e006a4dad37d1277ed3e1f24dea5c6c /tools/perf/util/scripting-engines/trace-event-python.c
parentd087e0f79fa0dd336a9a6b2f79ec23120f5eff73 (diff)
downloadlinux-055f37f84e304e59c046d1accfd8f08462f52c4c.tar.xz
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 <mlevitsk@redhat.com> Message-Id: <20221025124741.228045-13-mlevitsk@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions