diff options
author | David Hildenbrand <david@redhat.com> | 2018-06-08 14:48:16 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-06-12 10:44:36 +1000 |
commit | a4261be17213eea96673fac71bc89f5342422b76 (patch) | |
tree | bbd880409667b5987df7b72e3e102588fa4da982 /fsdev | |
parent | 3ec71474cad1066865b3c2059add208794a418da (diff) | |
download | qemu-a4261be17213eea96673fac71bc89f5342422b76.zip qemu-a4261be17213eea96673fac71bc89f5342422b76.tar.gz qemu-a4261be17213eea96673fac71bc89f5342422b76.tar.bz2 |
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 'fsdev')
0 files changed, 0 insertions, 0 deletions