|
@@ -158,6 +158,8 @@ void machine_parse_smp_config(MachineState *ms,
|
|
ms->smp.threads = threads;
|
|
ms->smp.threads = threads;
|
|
ms->smp.max_cpus = maxcpus;
|
|
ms->smp.max_cpus = maxcpus;
|
|
|
|
|
|
|
|
+ mc->smp_props.has_clusters = config->has_clusters;
|
|
|
|
+
|
|
/* sanity-check of the computed topology */
|
|
/* sanity-check of the computed topology */
|
|
if (sockets * dies * clusters * cores * threads != maxcpus) {
|
|
if (sockets * dies * clusters * cores * threads != maxcpus) {
|
|
g_autofree char *topo_msg = cpu_hierarchy_to_string(ms);
|
|
g_autofree char *topo_msg = cpu_hierarchy_to_string(ms);
|