From 0443b858873d1a80eb9ede901513b247b83ea76b Mon Sep 17 00:00:00 2001 From: Bibo Mao Date: Mon, 6 Jan 2025 15:36:26 +0800 Subject: hw/intc/loongarch_extioi: Remove num-cpu property Since cpu number can be acquired from possible_cpu_arch_ids(), num-cpu property is not necessary. Here remove num-cpu property for object TYPE_LOONGARCH_EXTIOI_COMMON object. Signed-off-by: Bibo Mao Reviewed-by: Bibo Mao --- hw/loongarch/virt.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/loongarch') diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c index 60bd4dc..df56d75 100644 --- a/hw/loongarch/virt.c +++ b/hw/loongarch/virt.c @@ -921,7 +921,6 @@ static void virt_irq_init(LoongArchVirtMachineState *lvms) /* Create EXTIOI device */ extioi = qdev_new(TYPE_LOONGARCH_EXTIOI); - qdev_prop_set_uint32(extioi, "num-cpu", ms->smp.cpus); if (virt_is_veiointc_enabled(lvms)) { qdev_prop_set_bit(extioi, "has-virtualization-extension", true); } -- cgit v1.1