[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 18/21] pci: Add root bus parameter to pci_nic_ini
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PULL 18/21] pci: Add root bus parameter to pci_nic_init() |
Date: |
Thu, 20 Jun 2013 10:07:23 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
On 06/20/2013 06:11 AM, Michael S. Tsirkin wrote:
> From: David Gibson <address@hidden>
>
> 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 <address@hidden>
> Signed-off-by: Michael S. Tsirkin <address@hidden>
> ---
> hw/alpha/dp264.c | 2 +-
> hw/arm/realview.c | 6 ++++--
> hw/arm/versatilepb.c | 2 +-
> hw/i386/pc.c | 2 +-
> hw/mips/mips_fulong2e.c | 6 +++---
> hw/mips/mips_malta.c | 6 +++---
> hw/pci/pci-hotplug-old.c | 3 ++-
> hw/pci/pci.c | 10 ++++++----
> hw/ppc/e500.c | 2 +-
> hw/ppc/mac_newworld.c | 2 +-
> hw/ppc/mac_oldworld.c | 2 +-
> hw/ppc/ppc440_bamboo.c | 2 +-
> hw/ppc/prep.c | 2 +-
> hw/ppc/spapr.c | 2 +-
> hw/sh4/r2d.c | 5 ++++-
> hw/sparc64/sun4u.c | 2 +-
> include/hw/pci/pci.h | 6 ++++--
> 17 files changed, 36 insertions(+), 26 deletions(-)
Acked-by: Richard Henderson <address@hidden>
r~
- [Qemu-devel] [PULL 10/21] pvpanic: fix fwcfg for big endian hosts, (continued)
- [Qemu-devel] [PULL 10/21] pvpanic: fix fwcfg for big endian hosts, Michael S. Tsirkin, 2013/06/20
- [Qemu-devel] [PULL 13/21] pci: Move pci_read_devaddr to pci-hotplug-old.c, Michael S. Tsirkin, 2013/06/20
- [Qemu-devel] [PULL 14/21] pci: Abolish pci_find_root_bus(), Michael S. Tsirkin, 2013/06/20
- [Qemu-devel] [PULL 15/21] pci: Use helper to find device's root bus in pci_find_domain(), Michael S. Tsirkin, 2013/06/20
- [Qemu-devel] [PULL 16/21] pci: Replace pci_find_domain() with more general pci_root_bus_path(), Michael S. Tsirkin, 2013/06/20
- [Qemu-devel] [PULL 17/21] pci: Add root bus argument to pci_get_bus_devfn(), Michael S. Tsirkin, 2013/06/20
- [Qemu-devel] [PULL 19/21] pci: Simpler implementation of primary PCI bus, Michael S. Tsirkin, 2013/06/20
- [Qemu-devel] [PULL 20/21] pci: Remove domain from PCIHostBus, Michael S. Tsirkin, 2013/06/20
- [Qemu-devel] [PULL 21/21] pci: Fold host_buses list into PCIHostState functionality, Michael S. Tsirkin, 2013/06/20
- [Qemu-devel] [PULL 18/21] pci: Add root bus parameter to pci_nic_init(), Michael S. Tsirkin, 2013/06/20
- Re: [Qemu-devel] [PULL 18/21] pci: Add root bus parameter to pci_nic_init(),
Richard Henderson <=
- [Qemu-devel] [PULL 11/21] net: add support of mac-programming over macvtap in QEMU side, Michael S. Tsirkin, 2013/06/20
- Re: [Qemu-devel] [PULL 00/21] pci,net,misc enhancements, Anthony Liguori, 2013/06/20
- Re: [Qemu-devel] [PULL 00/21] pci,net,misc enhancements, Anthony Liguori, 2013/06/21