accel/tcg: Restrict tcg_exec_[un]realizefn() to TCG
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 3 Oct 2023 12:30:25 +0000 (14:30 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Oct 2023 15:00:25 +0000 (08:00 -0700)
commit23af78b070ebfc0bfa8f114796a2eb9b5ed31e92
tree869d71eb6842442b5a5911600b7729f0335db2f4
parentfa312f2eaf50d7abb84dcc0d9b5d15f1ddf6f66b
accel/tcg: Restrict tcg_exec_[un]realizefn() to TCG

We don't need to expose these TCG-specific methods to the
whole code base. Register them as AccelClass handlers, they
will be called by the generic accel_cpu_[un]realize() methods.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Message-Id: <20231003123026.99229-8-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/internal.h
accel/tcg/tcg-all.c
cpu.c
include/exec/cpu-all.h