summary refs log tree commit diff stats
path: root/hw/loongarch/virt.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-01-06 15:36:26 +0800
committerBibo Mao <maobibo@loongson.cn>2025-01-09 14:13:31 +0800
commit0443b858873d1a80eb9ede901513b247b83ea76b (patch)
tree6ecde34acb3ae093932f5107cee9e86d0e5b2ca9 /hw/loongarch/virt.c
parent5a3e068d411c563d924f5eb40f82e91aaca1eaed (diff)
downloadfocaccia-qemu-0443b858873d1a80eb9ede901513b247b83ea76b.tar.gz
focaccia-qemu-0443b858873d1a80eb9ede901513b247b83ea76b.zip
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 <maobibo@loongson.cn>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Diffstat (limited to 'hw/loongarch/virt.c')
-rw-r--r--hw/loongarch/virt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c
index 60bd4dc9d3..df56d75a6e 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);
     }