summaryrefslogtreecommitdiff
path: root/migration/xbzrle.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2017-02-10 11:20:57 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2017-02-22 11:28:28 +1100
commitc5514d0e4bafde751ec09439ba042b1f1cda37a7 (patch)
treee9dac28948c2c02109c09f0faa1421ca41d24c0e /migration/xbzrle.c
parentf2d672c248e359dd36081bbebc8854609cc9f112 (diff)
downloadqemu-c5514d0e4bafde751ec09439ba042b1f1cda37a7.zip
machine: replace query_hotpluggable_cpus() callback with has_hotpluggable_cpus flag
Generic helper machine_query_hotpluggable_cpus() replaced target specific query_hotpluggable_cpus() callbacks so there is no need in it anymore. However inon NULL callback value is used to detect/report hotpluggable cpus support, therefore it can be removed completely. Replace it with MachineClass.has_hotpluggable_cpus boolean which is sufficient for the task. Suggested-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'migration/xbzrle.c')
0 files changed, 0 insertions, 0 deletions