kvm: qemu: add pci_find_bus
commitc10bf6159ff24501852c91a342c3077d5388b184
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 11 Mar 2008 20:11:54 +0000 (11 17:11 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 16 Mar 2008 12:03:18 +0000 (16 14:03 +0200)
treeec6a4a0dacd2646f92c9358493ceb4200d1ad6dd
parent50fd749abc55f7dab99fcc6194c00c235df5e0c8
kvm: qemu: add pci_find_bus

Return PCIBus pointer from bus number integer.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu/hw/pci.c
qemu/hw/pci.h