summaryrefslogtreecommitdiff
path: root/hw/xen/xen_pt_msi.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2017-07-13 10:45:35 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2017-07-17 15:07:05 +1000
commit765d1bdda5282cb38445c6dd82fa8aa0802cc904 (patch)
tree6899a76e7177e12636d0d560e471ca2dcba96d8c /hw/xen/xen_pt_msi.c
parent82a93a1d307064f35c363f79b04b0a0149ac53d9 (diff)
downloadqemu-765d1bdda5282cb38445c6dd82fa8aa0802cc904.zip
spapr: Simplify unplug path
spapr_lmb_release() and spapr_core_release() call hotplug_handler_unplug() which after a bunch of indirection calls spapr_memory_unplug() or spapr_core_unplug(). But we already know which is the appropriate thing to call here, so we can just fold it directly into the release function. Once that's done, there's no need for an hc->unplug method in the spapr machine at all: since we also have an hc->unplug_request method, the hotplug core will never use ->unplug. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Greg Kurz <groug@kaod.org> Tested-by: Daniel Barboza <danielhb@linux.vnet.ibm.com>
Diffstat (limited to 'hw/xen/xen_pt_msi.c')
0 files changed, 0 insertions, 0 deletions