diff options
| author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2012-08-07 16:10:35 +0000 |
|---|---|---|
| committer | Alexander Graf <agraf@suse.de> | 2012-08-15 19:43:16 +0200 |
| commit | 9894c5d4b467d24e281c22f2f5e24822c9b55fb3 (patch) | |
| tree | d7ad1d3214502add8f6e0f4cd5b76afc44424a1f /hw/usb/host-linux.c | |
| parent | f4b9523ba6388f6f951933de3f9a76e2e9ea2ede (diff) | |
| download | focaccia-qemu-9894c5d4b467d24e281c22f2f5e24822c9b55fb3.tar.gz focaccia-qemu-9894c5d4b467d24e281c22f2f5e24822c9b55fb3.zip | |
pseries: Export find_phb() utility function for PCI code
The pseries PCI code makes use of an internal find_dev() function which locates a PCIDevice * given a (platform specific) bus ID and device address. Internally this needs to first locate the host bridge on which the device resides based on the bus ID. This patch exposes that host bridge lookup as a separate function, which we will need later in the MSI and VFIO code. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [agraf: drop trace.h inclusion] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/usb/host-linux.c')
0 files changed, 0 insertions, 0 deletions