qemu-devel
[Top][All Lists]
Advanced

[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~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]