diff options
author | Maxim Levitsky <[email protected]> | 2022-10-25 15:47:28 +0300 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-10-28 06:10:28 -0400 |
commit | 5015bb89b58225f97df6ac44383e7e8c8662c8c9 (patch) | |
tree | e984800ba25387c6408ba86ecbaf96778498af62 /tools/perf/util/trace-event-scripting.c | |
parent | 5addaf530995ac203fa46efde0d1ded4c15ff98e (diff) |
KVM: x86: emulator: em_sysexit should update ctxt->mode
SYSEXIT is one of the instructions that can change the
processor mode, thus ctxt->mode should be updated after it.
Note that this is likely a benign bug, because the only problematic
mode change is from 32 bit to 64 bit which can lead to truncation of RIP,
and it is not possible to do with sysexit,
since sysexit running in 32 bit mode will be limited to 32 bit version.
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