diff options
author | Mao Zhongyi | 2017-06-27 08:16:52 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2017-07-03 21:29:49 +0200 |
commit | f8cd1b0201c41d88bb97dcafb80348a0e88d8805 (patch) | |
tree | 870bf5bd0c61a8193a878dfbe508b14ca59a5c1b /include/hw/pci/pci_bridge.h | |
parent | pci: Replace pci_add_capability2() with pci_add_capability() (diff) | |
download | qemu-f8cd1b0201c41d88bb97dcafb80348a0e88d8805.tar.gz qemu-f8cd1b0201c41d88bb97dcafb80348a0e88d8805.tar.xz qemu-f8cd1b0201c41d88bb97dcafb80348a0e88d8805.zip |
pci: Convert to realize
Convert i82801b11, io3130_upstream, io3130_downstream and
pcie_root_port devices to realize.
Cc: mst@redhat.com
Cc: marcel@redhat.com
Cc: armbru@redhat.com
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/pci/pci_bridge.h')
-rw-r--r-- | include/hw/pci/pci_bridge.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/pci/pci_bridge.h b/include/hw/pci/pci_bridge.h index d5891cd30e..ff7cbaa227 100644 --- a/include/hw/pci/pci_bridge.h +++ b/include/hw/pci/pci_bridge.h @@ -33,7 +33,8 @@ #define PCI_BRIDGE_DEV_PROP_SHPC "shpc" int pci_bridge_ssvid_init(PCIDevice *dev, uint8_t offset, - uint16_t svid, uint16_t ssid); + uint16_t svid, uint16_t ssid, + Error **errp); PCIDevice *pci_bridge_get_device(PCIBus *bus); PCIBus *pci_bridge_get_sec_bus(PCIBridge *br); |