summaryrefslogtreecommitdiffstats
path: root/include/hw/s390x
diff options
context:
space:
mode:
authorPierre Morel2020-10-26 16:34:39 +0100
committerAlex Williamson2020-11-01 20:30:52 +0100
commit9670ee752727945d8ce4f76efc0b68364b832f20 (patch)
treea877579be9623f59481ea800a18e3b5de186b8f6 /include/hw/s390x
parents390x/pci: clean up s390 PCI groups (diff)
downloadqemu-9670ee752727945d8ce4f76efc0b68364b832f20.tar.gz
qemu-9670ee752727945d8ce4f76efc0b68364b832f20.tar.xz
qemu-9670ee752727945d8ce4f76efc0b68364b832f20.zip
s390x/pci: use a PCI Function structure
We use a ClpRspQueryPci structure to hold the information related to a zPCI Function. This allows us to be ready to support different zPCI functions and to retrieve the zPCI function information from the host. Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/hw/s390x')
-rw-r--r--include/hw/s390x/s390-pci-bus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/s390x/s390-pci-bus.h b/include/hw/s390x/s390-pci-bus.h
index 869c0f254b..fe36f163ab 100644
--- a/include/hw/s390x/s390-pci-bus.h
+++ b/include/hw/s390x/s390-pci-bus.h
@@ -342,6 +342,7 @@ struct S390PCIBusDevice {
uint16_t maxstbl;
uint8_t sum;
S390PCIGroup *pci_group;
+ ClpRspQueryPci zpci_fn;
S390MsixInfo msix;
AdapterRoutes routes;
S390PCIIOMMU *iommu;