qemu-e2k/include/hw/xen
David Gibson cdc57472dc pci: Add pci_dev_bus_num() helper
A fair proportion of the users of pci_bus_num() want to get the bus
number on a specific device, so first have to look up the bus from the
device then call it.  This adds a helper to do that (since we're going
to make looking up the bus slightly more verbose).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
2017-12-05 19:13:45 +02:00
..
io xen: import ring.h from xen 2017-04-21 12:41:29 -07:00
xen_backend.h xen: add a global indicator for grant copy being available 2017-10-26 14:23:06 -07:00
xen_common.h pci: Add pci_dev_bus_num() helper 2017-12-05 19:13:45 +02:00
xen_pvdev.h
xen.h xen: use libxendevice model to restrict operations 2017-04-21 12:40:14 -07:00