summaryrefslogtreecommitdiffstats
path: root/hw/pci/pci_bus.h
diff options
context:
space:
mode:
authorAlex Williamson2013-03-14 23:00:59 +0100
committerMichael S. Tsirkin2013-03-26 20:02:18 +0100
commit3a861c466cee46fed042d76100fa0fd9644f3091 (patch)
treedc15362a51dff5464407d2537bb8f4e935563b67 /hw/pci/pci_bus.h
parentexec: assert that RAMBlock size is non-zero (diff)
downloadqemu-3a861c466cee46fed042d76100fa0fd9644f3091.tar.gz
qemu-3a861c466cee46fed042d76100fa0fd9644f3091.tar.xz
qemu-3a861c466cee46fed042d76100fa0fd9644f3091.zip
pci: Create and register a new PCI Express TypeInfo
This will allow us to differentiate Express and Legacy buses. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci/pci_bus.h')
-rw-r--r--hw/pci/pci_bus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci/pci_bus.h b/hw/pci/pci_bus.h
index aef559ae1f..6d3155f14b 100644
--- a/hw/pci/pci_bus.h
+++ b/hw/pci/pci_bus.h
@@ -10,6 +10,7 @@
#define TYPE_PCI_BUS "PCI"
#define PCI_BUS(obj) OBJECT_CHECK(PCIBus, (obj), TYPE_PCI_BUS)
+#define TYPE_PCIE_BUS "PCIE"
struct PCIBus {
BusState qbus;