summaryrefslogtreecommitdiffstats
path: root/target-sparc/machine.c
diff options
context:
space:
mode:
authorYi Min Zhao2016-06-03 09:16:01 +0200
committerCornelia Huck2016-07-11 09:48:05 +0200
commit4e3bfc167d9cc9c9e3c26eb15cb06439547f0533 (patch)
treeae44a16cc1d796eb0b9ceb0568a50ecfaf475199 /target-sparc/machine.c
parents390x/pci: refactor s390_pci_find_dev_by_idx (diff)
downloadqemu-4e3bfc167d9cc9c9e3c26eb15cb06439547f0533.tar.gz
qemu-4e3bfc167d9cc9c9e3c26eb15cb06439547f0533.tar.xz
qemu-4e3bfc167d9cc9c9e3c26eb15cb06439547f0533.zip
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 'target-sparc/machine.c')
0 files changed, 0 insertions, 0 deletions