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

2016-08-10 Thread Eduardo Habkost
On Wed, Jul 13, 2016 at 10:07:07AM +0200, Greg Kurz wrote: > 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

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

2016-07-13 Thread 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 loop and do it only