Home
last modified time | relevance | path

Searched refs:cpu_item (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/core/
H A Dmachine.c731 HotpluggableCPU *cpu_item = g_new0(typeof(*cpu_item), 1); in machine_query_hotpluggable_cpus() local
733 cpu_item->type = g_strdup(machine->possible_cpus->cpus[i].type); in machine_query_hotpluggable_cpus()
734 cpu_item->vcpus_count = machine->possible_cpus->cpus[i].vcpus_count; in machine_query_hotpluggable_cpus()
735 cpu_item->props = g_memdup(&machine->possible_cpus->cpus[i].props, in machine_query_hotpluggable_cpus()
736 sizeof(*cpu_item->props)); in machine_query_hotpluggable_cpus()
740 cpu_item->qom_path = object_get_canonical_path(OBJECT(cpu)); in machine_query_hotpluggable_cpus()
742 QAPI_LIST_PREPEND(head, cpu_item); in machine_query_hotpluggable_cpus()