Re: [PATCH 14/26] accel/tcg: Pass down max_cpus to tcg_init

2021-03-13 Thread Philippe Mathieu-Daudé
On 3/11/21 1:21 AM, Richard Henderson wrote: > 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. > > Signed-off-by: Richard Henderson > --- > include/tcg/tcg.h | 2 +- > tcg/internal.h | 2

[PATCH 14/26] accel/tcg: Pass down max_cpus to tcg_init

2021-03-10 Thread Richard Henderson
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. Signed-off-by: Richard Henderson --- include/tcg/tcg.h | 2 +- tcg/internal.h | 2 +- accel/tcg/tcg-all.c | 10 +- tcg/region.c