accel/tcg: Restrict qemu_plugin_vcpu_exit_hook() to TCG plugins
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Apr 2024 21:12:39 +0000 (23:12 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 6 May 2024 09:24:14 +0000 (11:24 +0200)
commit57d828429e5f1d849bf808387d947d7a62f0322e
treef1b0ea59c24cc7f579476d23fff4a14d3b9f9ada
parentb3e7bdeb78825b2aa050e2db7f122534a49d85e4
accel/tcg: Restrict qemu_plugin_vcpu_exit_hook() to TCG plugins

qemu_plugin_vcpu_exit_hook() is specific to TCG plugins,
so must be restricted to it in cpu_common_unrealizefn(),
similarly to how qemu_plugin_create_vcpu_state() is
restricted in the cpu_common_realizefn() counterpart.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240429213050.55177-2-philmd@linaro.org>
hw/core/cpu-common.c