aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2017-02-09 12:08:38 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2017-02-22 11:28:28 +1100
commitf2d672c248e359dd36081bbebc8854609cc9f112 (patch)
tree1c984ffa5eb16784cfa904d4dc1e5e0089dd38d3 /scripts/qapi-commands.py
parentspapr: reuse machine->possible_cpus instead of cores[] (diff)
downloadqemu-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 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions