On Wed, 16 Jul 2025 at 10:55, Luc Michel <luc.mic...@amd.com> wrote: > > From: Francisco Iglesias <francisco.igles...@xilinx.com> > > Introduce a 'first-cpu-index' property for specifying the first QEMU CPU > connected to the GICv3. This makes it possible to have multiple instances > of the GICv3 connected to different CPU clusters. > > Signed-off-by: Francisco Iglesias <francisco.igles...@xilinx.com> > Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com> > --- > include/hw/intc/arm_gicv3_common.h | 1 + > hw/intc/arm_gicv3_common.c | 3 ++- > hw/intc/arm_gicv3_cpuif.c | 2 +- > 3 files changed, 4 insertions(+), 2 deletions(-)
hw/intc/arm_gicv3_kvm.c also calls qemu_get_cpu(). You should either update that also so it can handle first-cpu-index, or else make kvm_arm_gicv3_realize() fail if it's non-zero. thanks -- PMM