qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 05/22] exec/cpu: Call qemu_init_vcpu() once in cpu_common_rea


From: Richard Henderson
Subject: Re: [PATCH 05/22] exec/cpu: Call qemu_init_vcpu() once in cpu_common_realize()
Date: Fri, 29 Sep 2023 14:04:39 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

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é<philmd@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.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]