]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg: Pass max_threads not max_cpus to tcg_init
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 4 Apr 2025 23:30:57 +0000 (16:30 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Apr 2025 22:07:32 +0000 (15:07 -0700)
commita9d107fa0eacf6c999c042b276e54a7058ae0bf9
treee872390b1d2dd88fe5b4e608b1da3ecee2b00c4e
parent9638cb59ee3d3a505f4bb6b9a4bcc49c3df4edcc
tcg: Pass max_threads not max_cpus to tcg_init

In effect, hoist the check for mttcg from tcg_n_regions()
to tcg_init_machine().

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>
accel/tcg/tcg-all.c
include/tcg/startup.h
tcg/region.c
tcg/tcg-internal.h
tcg/tcg.c