From 0889464a5050c25611d08ca33d8447796c88c7f7 Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Thu, 14 Mar 2013 16:01:29 -0600 Subject: pci: Create and use API to determine root buses Signed-off-by: Alex Williamson Signed-off-by: Michael S. Tsirkin --- hw/pci/pci.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/pci/pci.h') diff --git a/hw/pci/pci.h b/hw/pci/pci.h index d715e6f09d..774369cd9e 100644 --- a/hw/pci/pci.h +++ b/hw/pci/pci.h @@ -345,6 +345,7 @@ typedef int (*pci_hotplug_fn)(DeviceState *qdev, PCIDevice *pci_dev, #define TYPE_PCIE_BUS "PCIE" bool pci_bus_is_express(PCIBus *bus); +bool pci_bus_is_root(PCIBus *bus); void pci_bus_new_inplace(PCIBus *bus, DeviceState *parent, const char *name, MemoryRegion *address_space_mem, -- cgit v1.2.3