summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
authorIgor Mammedov2017-02-09 12:08:38 +0100
committerDavid Gibson2017-02-22 01:28:28 +0100
commitf2d672c248e359dd36081bbebc8854609cc9f112 (patch)
tree1c984ffa5eb16784cfa904d4dc1e5e0089dd38d3 /monitor.c
parentspapr: reuse machine->possible_cpus instead of cores[] (diff)
downloadqemu-f2d672c248e359dd36081bbebc8854609cc9f112.tar.gz
qemu-f2d672c248e359dd36081bbebc8854609cc9f112.tar.xz
qemu-f2d672c248e359dd36081bbebc8854609cc9f112.zip
machine: unify [pc_|spapr_]query_hotpluggable_cpus() callbacks
All callbacks FOO_query_hotpluggable_cpus() are practically the same except of setting vcpus_count to different values. Convert them to a generic machine_query_hotpluggable_cpus() callback by moving vcpus_count initialization to per machine specific callback possible_cpu_arch_ids(). Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'monitor.c')
0 files changed, 0 insertions, 0 deletions