diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-10-19 18:06:34 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-10-19 14:09:44 +0200 |
commit | 0428527c621c3edfd258b4d34fc178ef5df41071 (patch) | |
tree | f4ba3a5be62623d418e3f47c36bc8ef669c12cec /qemu-common.h | |
parent | 08f3dcf13f49dea3106b09c69bef9543e56fa629 (diff) |
pcie: helper functions for pcie capability and extended capability
This patch implements helper functions for pci express capability
and pci express extended capability allocation.
NOTE: presence detection depends on pci_qdev_init() change.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qemu-common.h')
-rw-r--r-- | qemu-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h index d735235f84..6d9ee26df0 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -219,6 +219,7 @@ typedef struct PCIHostState PCIHostState; typedef struct PCIExpressHost PCIExpressHost; typedef struct PCIBus PCIBus; typedef struct PCIDevice PCIDevice; +typedef struct PCIExpressDevice PCIExpressDevice; typedef struct PCIBridge PCIBridge; typedef struct SerialState SerialState; typedef struct IRQState *qemu_irq; |