summaryrefslogtreecommitdiffstats
path: root/include/hw/pci/pci.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-08-23 20:23:55 +0200
committerAndreas Färber <afaerber@suse.de>2013-08-30 20:14:39 +0200
commitdd301ca607feddab3b44f927cd36aee004c40e1a (patch)
treeff69c5b63acf77912f4957fccf1bda21e741e147 /include/hw/pci/pci.h
parentc6baf942e084e0bc40ee37c8d8672ac9c5ea270b (diff)
downloadhqemu-dd301ca607feddab3b44f927cd36aee004c40e1a.zip
hqemu-dd301ca607feddab3b44f927cd36aee004c40e1a.tar.gz
pci: Pass size to pci_bus_new_inplace()
To be passed to qbus_create_inplace(). Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/hw/pci/pci.h')
-rw-r--r--include/hw/pci/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h
index ccec2ba..051b6ed 100644
--- a/include/hw/pci/pci.h
+++ b/include/hw/pci/pci.h
@@ -348,7 +348,7 @@ typedef int (*pci_hotplug_fn)(DeviceState *qdev, PCIDevice *pci_dev,
bool pci_bus_is_express(PCIBus *bus);
bool pci_bus_is_root(PCIBus *bus);
-void pci_bus_new_inplace(PCIBus *bus, DeviceState *parent,
+void pci_bus_new_inplace(PCIBus *bus, size_t bus_size, DeviceState *parent,
const char *name,
MemoryRegion *address_space_mem,
MemoryRegion *address_space_io,
OpenPOWER on IntegriCloud