qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [RFC 2/9] spapr: Rearrange versioned machine type code


From: Thomas Huth
Subject: Re: [Qemu-ppc] [RFC 2/9] spapr: Rearrange versioned machine type code
Date: Mon, 30 Nov 2015 11:27:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 30/11/15 09:51, David Gibson wrote:
> hw/ppc/spapr.c has a number of definitions related to the various versioned
> machine types ("pseries-2.1" .. "pseries-2.5") it defines.  These are
> mostly arranged by type of function first, then machine version second, and
> it's not consistent about whether it goes in increasing or decreasing
> version order.
> 
> This rearranges the code to keep all the definitions for a particular
> machine version, and arrange then consistently in order most recent to
> least recent.
> 
> This brings us closer to matching the way PC does things, and makes later
> cleanups easier to follow.
> 
> Apart from adding some comments marking each section, this is a pure
> mechanical rearrangement with no semantic changes.
> 
> Signed-off-by: David Gibson <address@hidden>
> ---
>  hw/ppc/spapr.c | 180 
> +++++++++++++++++++++++++++++++--------------------------
>  1 file changed, 98 insertions(+), 82 deletions(-)

Good idea.

Reviewed-by: Thomas Huth <address@hidden>




reply via email to

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