[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC 21/41] hw/cpu/cluster: Allow cpu-cluster to be created by -device
- To: Paolo Bonzini <pbonzini@xxxxxxxxxx>, Alex Bennée <alex.bennee@xxxxxxxxxx>, Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>, Eduardo Habkost <eduardo@xxxxxxxxxxx>, Marcel Apfelbaum <marcel.apfelbaum@xxxxxxxxx>, Yanan Wang <wangyanan55@xxxxxxxxxx>, Richard Henderson <richard.henderson@xxxxxxxxxx>, "Michael S . Tsirkin" <mst@xxxxxxxxxx>, Jason Wang <jasowang@xxxxxxxxxx>, Nicholas Piggin <npiggin@xxxxxxxxx>, Daniel Henrique Barboza <danielhb413@xxxxxxxxx>, Igor Mammedov <imammedo@xxxxxxxxxx>, Cédric Le Goater <clg@xxxxxxxx>, Frédéric Barrat <fbarrat@xxxxxxxxxxxxx>, David Gibson <david@xxxxxxxxxxxxxxxxxxxxx>, Harsh Prateek Bora <harshpb@xxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, Paul Durrant <paul@xxxxxxx>, Gerd Hoffmann <kraxel@xxxxxxxxxx>, Peter Maydell <peter.maydell@xxxxxxxxxx>, Alistair Francis <alistair@xxxxxxxxxxxxx>, "Edgar E . Iglesias" <edgar.iglesias@xxxxxxxxx>, Daniel P . Berrangé <berrange@xxxxxxxxxx>, Bin Meng <bin.meng@xxxxxxxxxxxxx>, Palmer Dabbelt <palmer@xxxxxxxxxxx>, Weiwei Li <liwei1518@xxxxxxxxx>, Liu Zhiwei <zhiwei_liu@xxxxxxxxxxxxxxxxx>, qemu-devel@xxxxxxxxxx, kvm@xxxxxxxxxxxxxxx, qemu-ppc@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, qemu-arm@xxxxxxxxxx, qemu-riscv@xxxxxxxxxx, qemu-s390x@xxxxxxxxxx
- From: Zhao Liu <zhao1.liu@xxxxxxxxxxxxxxx>
- Date: Thu, 30 Nov 2023 22:41:43 +0800
- Cc: Nina Schoetterl-Glausch <nsg@xxxxxxxxxxxxx>, Thomas Huth <thuth@xxxxxxxxxx>, Zhiyuan Lv <zhiyuan.lv@xxxxxxxxx>, Zhenyu Wang <zhenyu.z.wang@xxxxxxxxx>, Yongwei Ma <yongwei.ma@xxxxxxxxx>, Zhao Liu <zhao1.liu@xxxxxxxxx>
- Delivery-date: Thu, 30 Nov 2023 14:39:20 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
From: Zhao Liu <zhao1.liu@xxxxxxxxx>
Since we will extend cpu-cluster to build CPU topology in virtualization
case via -device, remove the original limitition.
Signed-off-by: Zhao Liu <zhao1.liu@xxxxxxxxx>
---
hw/cpu/cluster.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/hw/cpu/cluster.c b/hw/cpu/cluster.c
index 27ab9e25a265..8a666c27d151 100644
--- a/hw/cpu/cluster.c
+++ b/hw/cpu/cluster.c
@@ -96,9 +96,6 @@ static void cpu_cluster_class_init(ObjectClass *klass, void
*data)
device_class_set_props(dc, cpu_cluster_properties);
dc->realize = cpu_cluster_realize;
- /* This is not directly for users, CPU children must be attached by code */
- dc->user_creatable = false;
-
#ifdef CONFIG_TCG
cc->tcg_clu_ops = &common_cluster_tcg_ops;
#endif
--
2.34.1
|