Re: [Qemu-devel] [RFC 05/13] pc: move pcms->possible_cpus init out of pc_cpus_init()

2017-01-20 Thread Igor Mammedov
On Fri, 20 Jan 2017 11:31:56 +0800 Dou Liyang wrote: > At 01/19/2017 01:13 AM, Igor Mammedov wrote: > > possible_cpus could be initialized earlier then cpu objects, > > s/then/than/ ok, I'll fix it on respin > > > i.e. when -smp is parsed so move init code to possible_cpu_arch_ids() > > [

Re: [Qemu-devel] [RFC 05/13] pc: move pcms->possible_cpus init out of pc_cpus_init()

2017-01-19 Thread Dou Liyang
At 01/19/2017 01:13 AM, Igor Mammedov wrote: possible_cpus could be initialized earlier then cpu objects, s/then/than/ i.e. when -smp is parsed so move init code to possible_cpu_arch_ids() [...]

[Qemu-devel] [RFC 05/13] pc: move pcms->possible_cpus init out of pc_cpus_init()

2017-01-18 Thread Igor Mammedov
possible_cpus could be initialized earlier then cpu objects, i.e. when -smp is parsed so move init code to possible_cpu_arch_ids() interface func and do initialization on the first call. it should help later with making -numa cpu/-smp parsing a machine state properties. Signed-off-by: Igor Mammed