summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-08-11 08:33:40 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2025-09-17 19:00:55 +0200
commit61d996da508fe4082f1cbfd9b51c8c47f535a993 (patch)
treeb82268611bd581f4c502798d089b2e9e24facf91 /system
parent9cf342b491f6872d316b7b0c3cbc0f6157f28797 (diff)
downloadfocaccia-qemu-61d996da508fe4082f1cbfd9b51c8c47f535a993.tar.gz
focaccia-qemu-61d996da508fe4082f1cbfd9b51c8c47f535a993.zip
accel/tcg: inline cpu_exit()
Right now, cpu_exit() is not usable from all accelerators because it
includes a TCG-specific thread kick.  In fact, cpu_exit() doubles as
the TCG thread-kick via tcg_kick_vcpu_thread().

In preparation for changing that, inline cpu_exit() into
tcg_kick_vcpu_thread().  The direction of the calls can then be
reversed, with an accelerator-independent cpu_exit() calling into
qemu_vcpu_kick() rather than the opposite.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'system')
0 files changed, 0 insertions, 0 deletions