spapr: introduce machine unplug handler
commit88432f44aae752028103408f2f6df8c681143907
authorDavid Hildenbrand <david@redhat.com>
Fri, 8 Jun 2018 12:48:14 +0000 (8 14:48 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Jun 2018 00:44:36 +0000 (12 10:44 +1000)
tree0bb688420122b05d5ddb589bdf98cd72eff77b57
parent4e8a01bdb20557ee4f5bf6f86890d2b95fa2a7fb
spapr: introduce machine unplug handler

We'll be handling unplug of e.g. CPUs and PCDIMMs  via the general
hotplug handler soon, so let's add that handler function.

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>
hw/ppc/spapr.c