On Wed, 16 Jul 2025 at 10:55, Luc Michel <[email protected]> wrote: > > From: Francisco Iglesias <[email protected]> > > 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 <[email protected]> > Signed-off-by: Edgar E. Iglesias <[email protected]> > --- > 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
