summary refs log tree commit diff stats
path: root/hw/intc/loongarch_extioi_common.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/intc/loongarch_extioi_common.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/intc/loongarch_extioi_common.c')
-rw-r--r--hw/intc/loongarch_extioi_common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/intc/loongarch_extioi_common.c b/hw/intc/loongarch_extioi_common.c
index 99a091e30b..fd56253d10 100644
--- a/hw/intc/loongarch_extioi_common.c
+++ b/hw/intc/loongarch_extioi_common.c
@@ -95,7 +95,6 @@ static const VMStateDescription vmstate_loongarch_extioi = {
 };
 
 static const Property extioi_properties[] = {
-    DEFINE_PROP_UINT32("num-cpu", LoongArchExtIOICommonState, num_cpu, 1),
     DEFINE_PROP_BIT("has-virtualization-extension", LoongArchExtIOICommonState,
                     features, EXTIOI_HAS_VIRT_EXTENSION, 0),
 };