On 9/18/23 09:02, Philippe Mathieu-Daudé wrote:
qemu_init_vcpu() is called in each ${target}_cpu_realize() before
the call to parent_realize(), which is cpu_common_realizefn().
Call it once there.
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
hw/core/cpu-common.c | 3 +++
target/alpha/cpu.c | 2 --
target/arm/cpu.c | 2 --
target/avr/cpu.c | 1 -
target/cris/cpu.c | 2 --
target/hexagon/cpu.c | 1 -
target/hppa/cpu.c | 1 -
target/i386/cpu.c | 4 +---
target/loongarch/cpu.c | 2 --
target/m68k/cpu.c | 2 --
target/microblaze/cpu.c | 2 --
target/mips/cpu.c | 2 --
target/nios2/cpu.c | 1 -
target/openrisc/cpu.c | 2 --
target/ppc/cpu_init.c | 1 -
target/riscv/cpu.c | 2 --
target/rx/cpu.c | 2 --
target/s390x/cpu.c | 1 -
target/sh4/cpu.c | 2 --
target/sparc/cpu.c | 2 --
target/tricore/cpu.c | 1 -
target/xtensa/cpu.c | 2 --
22 files changed, 4 insertions(+), 36 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~