Add pci_find_device
commita6fbbfe0b9d0b0d1acda00c790b39463ba235a60
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 11 Mar 2008 20:12:05 +0000 (11 17:12 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 16 Mar 2008 12:06:08 +0000 (16 14:06 +0200)
tree47ae181e9039b85f276389a52fdef19f407d2301
parent5189c8290f68b58c57a49ee5351f84f72a4b964a
Add pci_find_device

Return PCIDevice from bus number and slot.

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