]> git.proxmox.com Git - mirror_qemu.git/commit
spapr_pci: emit hotplug add/remove events during hotplug
authorTyrel Datwyler <tyreld@linux.vnet.ibm.com>
Thu, 7 May 2015 05:33:56 +0000 (15:33 +1000)
committerAlexander Graf <agraf@suse.de>
Wed, 3 Jun 2015 21:56:55 +0000 (23:56 +0200)
commitc5bc152bc399ae7ec8ac5227762e4320d0fd2d1c
tree2e9590ecf113ca438293358ec8f54325e8a34fa0
parent7454c7af91bdd60216e2b6eead827c012bb4d0d0
spapr_pci: emit hotplug add/remove events during hotplug

This uses extension of existing EPOW interrupt/event mechanism
to notify userspace tools like librtas/drmgr to handle
in-guest configuration/cleanup operations in response to
device_add/device_del.

Userspace tools that don't implement this extension will need
to be run manually in response/advance of device_add/device_del,
respectively.

Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_pci.c