summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorDavid Gibson2017-07-13 02:45:35 +0200
committerDavid Gibson2017-07-17 07:07:05 +0200
commit765d1bdda5282cb38445c6dd82fa8aa0802cc904 (patch)
tree6899a76e7177e12636d0d560e471ca2dcba96d8c /scripts/switch-timer-api
parentspapr: Remove 'awaiting_allocation' DRC flag (diff)
downloadqemu-765d1bdda5282cb38445c6dd82fa8aa0802cc904.tar.gz
qemu-765d1bdda5282cb38445c6dd82fa8aa0802cc904.tar.xz
qemu-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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions