diff options
author | 2017-02-09 12:08:38 +0100 | |
---|---|---|
committer | 2017-02-22 11:28:28 +1100 | |
commit | f2d672c248e359dd36081bbebc8854609cc9f112 (patch) | |
tree | 1c984ffa5eb16784cfa904d4dc1e5e0089dd38d3 /scripts/qapi-commands.py | |
parent | spapr: reuse machine->possible_cpus instead of cores[] (diff) | |
download | 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 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions