[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 27/58] spapr: Move typedef SpaprMachineState to spapr.h
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v2 27/58] spapr: Move typedef SpaprMachineState to spapr.h |
Date: |
Tue, 25 Aug 2020 12:13:28 +0100 |
User-agent: |
Mutt/1.14.6 (2020-07-11) |
On Wed, Aug 19, 2020 at 08:12:05PM -0400, Eduardo Habkost wrote:
> Move the typedef from spapr_irq.h to spapr.h, and use "struct
> SpaprMachineState" in the spapr_*.h headers (to avoid circular
> header dependencies).
>
> This will make future conversion to OBJECT_DECLARE* easier.
>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> Changes series v1 -> v2: new patch in series v2
>
> Cc: David Gibson <david@gibson.dropbear.id.au>
> Cc: "Cédric Le Goater" <clg@kaod.org>
> Cc: qemu-ppc@nongnu.org
> Cc: qemu-devel@nongnu.org
> ---
> include/hw/ppc/spapr.h | 1 +
> include/hw/ppc/spapr_irq.h | 36 ++++++++++++++++++------------------
> include/hw/ppc/spapr_xive.h | 3 ++-
> 3 files changed, 21 insertions(+), 19 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|