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