Re: [Qemu-devel] [PATCH 09/10] arm: virt: parse cpu_model only once

2016-06-08 Thread Peter Maydell
On 8 June 2016 at 17:55, Eduardo Habkost wrote: > On Mon, Jun 06, 2016 at 05:16:51PM +0200, Igor Mammedov 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), the

Re: [Qemu-devel] [PATCH 09/10] arm: virt: parse cpu_model only once

2016-06-08 Thread Eduardo Habkost
On Mon, Jun 06, 2016 at 05:16:51PM +0200, Igor Mammedov 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 > ti

[Qemu-devel] [PATCH 09/10] arm: virt: parse cpu_model only once

2016-06-06 Thread Igor Mammedov
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