diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-01-06 15:36:26 +0800 |
---|---|---|
committer | Bibo Mao <maobibo@loongson.cn> | 2025-01-09 14:13:31 +0800 |
commit | 0443b858873d1a80eb9ede901513b247b83ea76b (patch) | |
tree | 6ecde34acb3ae093932f5107cee9e86d0e5b2ca9 /hw/loongarch | |
parent | 5a3e068d411c563d924f5eb40f82e91aaca1eaed (diff) | |
download | qemu-0443b858873d1a80eb9ede901513b247b83ea76b.zip qemu-0443b858873d1a80eb9ede901513b247b83ea76b.tar.gz qemu-0443b858873d1a80eb9ede901513b247b83ea76b.tar.bz2 |
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')
-rw-r--r-- | hw/loongarch/virt.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |