diff options
author | Alex Williamson | 2013-03-14 23:00:59 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2013-03-26 20:02:18 +0100 |
commit | 3a861c466cee46fed042d76100fa0fd9644f3091 (patch) | |
tree | dc15362a51dff5464407d2537bb8f4e935563b67 /hw/pci/pci_bus.h | |
parent | exec: assert that RAMBlock size is non-zero (diff) | |
download | qemu-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.h | 1 |
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; |