s390x/pci: use a PCI Group structure
commit28dc86a07299fba784ca2352f95e30fe603e17ab
authorPierre Morel <pmorel@linux.ibm.com>
Mon, 26 Oct 2020 15:34:37 +0000 (26 11:34 -0400)
committerAlex Williamson <alex.williamson@redhat.com>
Sun, 1 Nov 2020 19:30:52 +0000 (1 12:30 -0700)
treef95e0dbb6c1188883fc51f43c7b5cd49fd862c5d
parentc04274f49e0dd1f1279c0f74cbb89a902d8372eb
s390x/pci: use a PCI Group structure

We use a S390PCIGroup structure to hold the information related to a
zPCI Function group.

This allows us to be ready to support multiple groups and to retrieve
the group 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