aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-10-03 14:30:25 +0200
committerRichard Henderson <richard.henderson@linaro.org>2023-10-03 08:00:25 -0700
commit23af78b070ebfc0bfa8f114796a2eb9b5ed31e92 (patch)
tree869d71eb6842442b5a5911600b7729f0335db2f4 /include
parentfa312f2eaf50d7abb84dcc0d9b5d15f1ddf6f66b (diff)
downloadqemu-23af78b070ebfc0bfa8f114796a2eb9b5ed31e92.zip
qemu-23af78b070ebfc0bfa8f114796a2eb9b5ed31e92.tar.gz
qemu-23af78b070ebfc0bfa8f114796a2eb9b5ed31e92.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/exec/cpu-all.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index 1e5c530..230525e 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -422,8 +422,6 @@ void dump_exec_info(GString *buf);
/* accel/tcg/cpu-exec.c */
int cpu_exec(CPUState *cpu);
-bool tcg_exec_realizefn(CPUState *cpu, Error **errp);
-void tcg_exec_unrealizefn(CPUState *cpu);
/**
* cpu_set_cpustate_pointers(cpu)