s390x/pci: assign msix io region for each pci device
authorYi Min Zhao <zyimin@linux.vnet.ibm.com>
Tue, 6 Sep 2016 06:00:44 +0000 (14:00 +0800)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 28 Sep 2016 11:24:51 +0000 (13:24 +0200)
commit8f95595072c3d91645c21d27cd02dd0b8d920f77
treea8d34d2810bcd5827c8cb342774da6ad64f79900
parent205e5de4251f4c18e1f17f2e7aaa42ff92c3e05f
s390x/pci: assign msix io region for each pci device

For efficiency we now assign one msix io region for each pci device
and provide it with the pointer to the zPCI device as opaque
parameter. In addition, we remove msix address space and add msix io
region as a subregion to the root memory region of pci device.

Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
hw/s390x/s390-pci-bus.c
hw/s390x/s390-pci-bus.h