]> git.ipfire.org Git - thirdparty/qemu.git/commit
s390x/pci: change the device array to a list
authorPierre Morel <pmorel@linux.vnet.ibm.com>
Tue, 15 Nov 2016 07:51:38 +0000 (15:51 +0800)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 20 Jan 2017 09:01:24 +0000 (10:01 +0100)
commite70377dfa4bbc2e101066ca35675bed4129c5a8c
treea9a0ba6a3937e8dcc4fff8cb72396cb756d3d031
parent03805be08195fca358b12dacc26370f8d1b2c27b
s390x/pci: change the device array to a list

In order to support a greater number of devices we use a QTAILQ
list of devices instead of a limited array.

This leads us to change:
- every lookup function s390_pci_find_xxx() for QTAILQ
- the FH_MASK_INDEX to index up to 65536 devices

Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-pci-bus.c
hw/s390x/s390-pci-bus.h