[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [for-2.11 PATCH 01/26] spapr: move spapr_cre
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [for-2.11 PATCH 01/26] spapr: move spapr_create_phb() to core machine code |
Date: |
Wed, 26 Jul 2017 13:52:40 +1000 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
On Wed, Jul 26, 2017 at 01:32:41PM +1000, Alexey Kardashevskiy wrote:
> On 26/07/17 03:58, Greg Kurz wrote:
> > This function is only used when creating the default PHB. Let's rename
> > it and move it to the core machine code for clarity.
> >
> > Signed-off-by: Greg Kurz <address@hidden>
> > ---
> > hw/ppc/spapr.c | 13 ++++++++++++-
> > hw/ppc/spapr_pci.c | 11 -----------
> > include/hw/pci-host/spapr.h | 2 --
> > 3 files changed, 12 insertions(+), 14 deletions(-)
> >
> > diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
> > index 2a3e53d5d58c..53969315ac24 100644
> > --- a/hw/ppc/spapr.c
> > +++ b/hw/ppc/spapr.c
> > @@ -2142,6 +2142,17 @@ static void spapr_init_cpus(sPAPRMachineState *spapr)
> > g_free(type);
> > }
> >
> > +static PCIHostState *spapr_create_default_phb(sPAPRMachineState *spapr)
>
>
> Nit: you could get rid of the *spapr here.
>
> Anyway,
>
> Reviewed-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: David Gibson <address@hidden>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature