s390x/pci: enable zpci hot-plug/hot-unplug
commitaf9ed379fc6bb662130e17fbc27f6ac0f5909696
authorYi Min Zhao <zyimin@linux.vnet.ibm.com>
Fri, 13 May 2016 04:50:09 +0000 (13 12:50 +0800)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 11 Jul 2016 07:48:05 +0000 (11 09:48 +0200)
tree7813b2fbe78c767a1f5ae40d6c004371f52309e9
parentbf328399da57450feaeaa24c2539a351e41713db
s390x/pci: enable zpci hot-plug/hot-unplug

We need to support hot-plug/hot-unplug for the new zpci devices as
well. This patch enables the present hot-plug/hot-unplug handlers
to support not only generic pci devices but also zpci devices.

Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-pci-bus.c