s390x/pci: use a PCI Function structure
commit9670ee752727945d8ce4f76efc0b68364b832f20
authorPierre Morel <pmorel@linux.ibm.com>
Mon, 26 Oct 2020 15:34:39 +0000 (26 11:34 -0400)
committerAlex Williamson <alex.williamson@redhat.com>
Sun, 1 Nov 2020 19:30:52 +0000 (1 12:30 -0700)
treea877579be9623f59481ea800a18e3b5de186b8f6
parentb354d5d8049c513444b51ce841bd3136fed2e234
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>
hw/s390x/s390-pci-bus.c
hw/s390x/s390-pci-inst.c
include/hw/s390x/s390-pci-bus.h