diff options
author | 2022-10-25 15:47:29 +0300 | |
---|---|---|
committer | 2022-10-28 06:10:29 -0400 | |
commit | d087e0f79fa0dd336a9a6b2f79ec23120f5eff73 (patch) | |
tree | 9fb274942e7a0fa59c56088ff72d809ce64d7499 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | KVM: x86: emulator: em_sysexit should update ctxt->mode (diff) | |
download | linux-dev-d087e0f79fa0dd336a9a6b2f79ec23120f5eff73.tar.xz linux-dev-d087e0f79fa0dd336a9a6b2f79ec23120f5eff73.zip |
KVM: x86: emulator: introduce emulator_recalc_and_set_mode
Some instructions update the cpu execution mode, which needs to update the
emulation mode.
Extract this code, and make assign_eip_far use it.
assign_eip_far now reads CS, instead of getting it via a parameter,
which is ok, because callers always assign CS to the same value
before calling this function.
No functional change is intended.
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20221025124741.228045-12-mlevitsk@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions