]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/ppc/spapr.c
qapi: keep names in 'CpuInstanceProperties' in sync with struct CPUCore
[mirror_qemu.git] / hw / ppc / spapr.c
index 778fa255a946ef36edf8f33add00dcc8db5038cb..0b6bb9ce1ad256cc8ba925e6de6020d34eb496d1 100644 (file)
@@ -2367,8 +2367,8 @@ static HotpluggableCPUList *spapr_query_hotpluggable_cpus(MachineState *machine)
 
         cpu_item->type = spapr_get_cpu_core_type(machine->cpu_model);
         cpu_item->vcpus_count = smp_threads;
-        cpu_props->has_core = true;
-        cpu_props->core = i * smt;
+        cpu_props->has_core_id = true;
+        cpu_props->core_id = i * smt;
         /* TODO: add 'has_node/node' here to describe
            to which node core belongs */