summary refs log tree commit diff stats
path: root/scripts/vmstate-static-checker.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/vmstate-static-checker.py
parent535455fdee60e4e7979a5060ba7a4e4588ee1a1e (diff)
downloadfocaccia-qemu-f2d672c248e359dd36081bbebc8854609cc9f112.tar.gz
focaccia-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/vmstate-static-checker.py')
0 files changed, 0 insertions, 0 deletions