]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: Remove AccelCPUClass::cpu_class_init need
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 5 Apr 2025 16:13:06 +0000 (18:13 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Apr 2025 22:07:32 +0000 (15:07 -0700)
commita522b04bb9cf67789116ad7a6165946d4b214bac
treec70167213173c8e09c545019270dc75a56d27971
parentf50d0f335a6e48ac757cb7e534542822a8db8211
target/i386: Remove AccelCPUClass::cpu_class_init need

Expose x86_tcg_ops symbol, then directly set it as
CPUClass::tcg_ops in TYPE_X86_CPU's class_init(),
using CONFIG_TCG #ifdef'ry. No need for the
AccelCPUClass::cpu_class_init() handler anymore.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250405161320.76854-3-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/i386/cpu.c
target/i386/tcg/tcg-cpu.c
target/i386/tcg/tcg-cpu.h