qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC 49/52] i386/pc: Support hybrid cpu topology


From: Zhao Liu
Subject: [RFC 49/52] i386/pc: Support hybrid cpu topology
Date: Mon, 13 Feb 2023 17:50:32 +0800

From: Zhao Liu <zhao1.liu@intel.com>

Allow i386/pc to set hybrid cpu topology with "-hybrid" commands.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
 hw/i386/pc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 9a7ee0affd87..5cd45921205c 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1928,6 +1928,7 @@ static void pc_machine_class_init(ObjectClass *oc, void 
*data)
     hc->unplug = pc_machine_device_unplug_cb;
     mc->default_cpu_type = TARGET_DEFAULT_CPU_TYPE;
     mc->nvdimm_supported = true;
+    mc->topo_props.hybrid_supported = true;
     mc->topo_props.dies_supported = true;
     mc->topo_props.clusters_supported = true;
     mc->default_ram_id = "pc.ram";
-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]