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

2016-08-12 Thread Eduardo Habkost
On Wed, Aug 10, 2016 at 09:08:01PM +0200, Cédric Le Goater wrote: > From: Greg Kurz > > 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_

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

2016-08-11 Thread David Gibson
On Wed, Aug 10, 2016 at 09:08:01PM +0200, Cédric Le Goater wrote: > From: Greg Kurz > > 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_

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

2016-08-10 Thread Bharata B Rao
On Wed, Aug 10, 2016 at 09:08:01PM +0200, Cédric Le Goater wrote: > From: Greg Kurz > > 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_

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

2016-08-10 Thread Cédric Le Goater
On 08/10/2016 09:08 PM, Cédric Le Goater wrote: > From: Greg Kurz > > 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

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

2016-08-10 Thread Cédric Le Goater
From: Greg Kurz 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 lo