summary refs log tree commit diff stats
path: root/scripts/simpletrace.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2018-06-08 14:48:16 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2018-06-12 10:44:36 +1000
commita4261be17213eea96673fac71bc89f5342422b76 (patch)
treebbd880409667b5987df7b72e3e102588fa4da982 /scripts/simpletrace.py
parent3ec71474cad1066865b3c2059add208794a418da (diff)
downloadfocaccia-qemu-a4261be17213eea96673fac71bc89f5342422b76.tar.gz
focaccia-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 'scripts/simpletrace.py')
0 files changed, 0 insertions, 0 deletions