qemu/include/hw/pci
David Gibson 29b358f93a pci: Add root bus parameter to pci_nic_init()
At present, pci_nic_init() and pci_nic_init_nofail() assume that they will
only create a NIC under the primary PCI root.  As we add support for
multiple PCI roots, that may no longer be the case.  This patch adds a root
bus parameter to pci_nic_init() (and updates callers accordingly) to allow
the machine init code using it to specify the right PCI root for NICs
created by old-style -net nic parameters.  NICs created new-style, with
-device can of course be put anywhere.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-07-07 23:10:57 +03:00
..
msi.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
msix.h pci: add VMSTATE_MSIX 2013-06-03 11:37:44 +02:00
pci.h pci: Add root bus parameter to pci_nic_init() 2013-07-07 23:10:57 +03:00
pci_bridge.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pci_bus.h pci: use memory core for iommu support 2013-06-20 16:32:47 +02:00
pci_host.h pci: Replace pci_find_domain() with more general pci_root_bus_path() 2013-07-07 23:10:57 +03:00
pci_ids.h NVMe: Initial commit for new storage interface 2013-06-17 17:47:59 +02:00
pci_regs.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie_aer.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie_host.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie_port.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie_regs.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
shpc.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
slotid_cap.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00