qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [PATCH for 2.7] ppc: parse cpu features once


From: Cédric Le Goater
Subject: Re: [Qemu-ppc] [PATCH for 2.7] ppc: parse cpu features once
Date: Wed, 10 Aug 2016 21:10:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 08/10/2016 09:08 PM, Cédric Le Goater wrote:
> From: Greg Kurz <address@hidden>
> 
> Considering that features are converted to global properties and
> global properties are automatically applied to every new instance
> of created CPU (at object_new() time), there is no point in
> parsing cpu_model string every time a CPU created. So move
> parsing outside CPU creation loop and do it only once.
> 
> Parsing also should be done before any CPU is created so that
> features would affect the first CPU a well.
> 
> This patch does that for all PowerPC machine types.
> 
> It is based on previous work from Bharata:
> 
> https://lists.nongnu.org/archive/html/qemu-devel/2016-06/msg07564.html
> 
> Signed-off-by: Greg Kurz <address@hidden>
> [clg: only kept the fix for the spapr platform. support for other
>       platform will be added in 2.8 ]
> Signed-off-by: Cédric Le Goater <address@hidden>

Eduardo,

Greg being away, I gave his patch a respin. Could you please give it 
a try ?

Thanks,

C.




reply via email to

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