diff options
author | Yi Min Zhao <zyimin@linux.vnet.ibm.com> | 2016-06-03 15:16:01 +0800 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2016-07-11 09:48:05 +0200 |
commit | 4e3bfc167d9cc9c9e3c26eb15cb06439547f0533 (patch) | |
tree | ae44a16cc1d796eb0b9ceb0568a50ecfaf475199 /tests/qemu-iotests/012 | |
parent | ab9746570ab375f3f2a3d5ec0c95d2621aca5493 (diff) |
s390x/pci: refactor list_pci
Because of the refactor of s390_pci_find_dev_by_idx(), list_pci()
should be updated. We introduce a new function to get the next
available zpci device. It simplifies the code of looking up zpci
devices.
Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Acked-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'tests/qemu-iotests/012')
0 files changed, 0 insertions, 0 deletions