s390x/pci: fix s390_pci_sclp_deconfigure
commit259a4f0a7619fef69427555839e0c9db84fd0561
authorYi Min Zhao <zyimin@linux.vnet.ibm.com>
Thu, 28 Apr 2016 05:22:51 +0000 (28 13:22 +0800)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 17 May 2016 13:50:29 +0000 (17 15:50 +0200)
treea78a65529f9438f962af41728d9bb876290ea498
parentdf6a050c82e56fc7a0afeb62cf4bc2e0c4c6d888
s390x/pci: fix s390_pci_sclp_deconfigure

When deconfiguring a s390 pci device, we should deconfigure the
corresponding IOMMU memory region and the IRQs for the device.

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