]> git.proxmox.com Git - mirror_qemu.git/commit - accel/tcg/tcg-all.c
accel/tcg: Pass down max_cpus to tcg_init
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 10 Mar 2021 04:52:45 +0000 (22:52 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 11 Jun 2021 16:27:08 +0000 (09:27 -0700)
commit43b972b7ebe9b8e84aa535031de7e605f6bf2cb2
treecc1d8a122b43510682c1430134cafccbabe0edaf
parentefba8ae9f6f4df011b0441ae2b634be6152026a4
accel/tcg: Pass down max_cpus to tcg_init

Start removing the include of hw/boards.h from tcg/.
Pass down the max_cpus value from tcg_init_machine,
where we have the MachineState already.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/tcg-all.c
include/tcg/tcg.h
tcg/region.c
tcg/tcg-internal.h
tcg/tcg.c