diff options
author | David Hildenbrand | 2018-06-08 14:48:16 +0200 |
---|---|---|
committer | David Gibson | 2018-06-12 02:44:36 +0200 |
commit | a4261be17213eea96673fac71bc89f5342422b76 (patch) | |
tree | bbd880409667b5987df7b72e3e102588fa4da982 /hw/usb/chipidea.c | |
parent | spapr: handle pc-dimm unplug via hotplug handler chain (diff) | |
download | qemu-a4261be17213eea96673fac71bc89f5342422b76.tar.gz qemu-a4261be17213eea96673fac71bc89f5342422b76.tar.xz qemu-a4261be17213eea96673fac71bc89f5342422b76.zip |
spapr: handle cpu core unplug via hotplug handler chain
Factor out cpu core unplug into separate function from
spapr_core_release(). Then use generic hotplug_handler_unplug() to trigger
cpu core unplug, which would call spapr_machine_device_unplug() ->
spapr_core_unplug() in the end.
This way unplug operation is not buried in spapr internals and located
in the same place like in other targets, following similar
logic/call chain across targets.
Acked-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/usb/chipidea.c')
0 files changed, 0 insertions, 0 deletions