summary refs log tree commit diff stats
path: root/linux-user/user-internals.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-09-06 06:09:44 +0200
committerRichard Henderson <richard.henderson@linaro.org>2025-09-24 10:29:43 -0700
commit84142184899322c2dca931e36abca7a35a2827cd (patch)
treed90f55e1a584e609f752b827f298f3aaf6d46513 /linux-user/user-internals.h
parentb773c149a80b11449899b6a4ad3672250d4fcb0f (diff)
downloadfocaccia-qemu-84142184899322c2dca931e36abca7a35a2827cd.tar.gz
focaccia-qemu-84142184899322c2dca931e36abca7a35a2827cd.zip
accel/tcg: Move post-load tb_flush to vm_change_state hook
We need not call tb_flush once per cpu, only once per vmload.

By moving the call from cpu_common_post_load to a tcg-specific
vm_change_state_handler, we do even better than that: we only
flush when called from HMP triggered loadvm, when we had old
state to flush.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/user-internals.h')
0 files changed, 0 insertions, 0 deletions