Interrupt controller extioi and ipi connect to multiple CPUs with irq line method. Here possible_cpu_arch_ids() is used rather than smp.cpus.
With command -smp x, -device la464-loongarch-cpu, smp.cpus is not accurate for all possible CPU objects, possible_cpu_arch_ids() is used here. Bibo Mao (3): hw/loongarch/virt: Set iocsr address space when CPU is created hw/loongarch/virt: Remove unused ipistate hw/loongarch/virt: CPU irq line connection improvement hw/loongarch/virt.c | 67 ++++++++++++++++++++----------------- include/hw/loongarch/virt.h | 2 ++ target/loongarch/cpu.h | 2 -- 3 files changed, 39 insertions(+), 32 deletions(-) base-commit: 20fac491cfeebb042f59cc61ae76fed1b397d25c -- 2.39.3
