Re: [Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug()

2016-07-14 Thread Igor Mammedov
On Thu, 14 Jul 2016 13:43:29 -0300 Eduardo Habkost wrote: > On Thu, Jul 14, 2016 at 05:40:47PM +0200, Igor Mammedov wrote: > > On Thu, 14 Jul 2016 12:03:19 -0300 > > Eduardo Habkost wrote: > > > > > On Thu, Jul 14, 2016 at 11:18:36AM +0200, Igor

Re: [Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug()

2016-07-14 Thread Eduardo Habkost
On Thu, Jul 14, 2016 at 05:40:47PM +0200, Igor Mammedov wrote: > On Thu, 14 Jul 2016 12:03:19 -0300 > Eduardo Habkost wrote: > > > On Thu, Jul 14, 2016 at 11:18:36AM +0200, Igor Mammedov wrote: > > > On Wed, 13 Jul 2016 20:37:13 -0300 > > > Eduardo Habkost

Re: [Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug()

2016-07-14 Thread Igor Mammedov
On Thu, 14 Jul 2016 12:03:19 -0300 Eduardo Habkost wrote: > On Thu, Jul 14, 2016 at 11:18:36AM +0200, Igor Mammedov wrote: > > On Wed, 13 Jul 2016 20:37:13 -0300 > > Eduardo Habkost wrote: > > > > > On Wed, Jul 13, 2016 at 06:59:21PM -0400, Bandan

Re: [Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug()

2016-07-14 Thread Eduardo Habkost
On Thu, Jul 14, 2016 at 11:18:36AM +0200, Igor Mammedov wrote: > On Wed, 13 Jul 2016 20:37:13 -0300 > Eduardo Habkost wrote: > > > On Wed, Jul 13, 2016 at 06:59:21PM -0400, Bandan Das wrote: > > > Eduardo Habkost writes: > > > > > > > On Wed, Jul 13,

Re: [Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug()

2016-07-14 Thread Igor Mammedov
On Wed, 13 Jul 2016 20:37:13 -0300 Eduardo Habkost wrote: > On Wed, Jul 13, 2016 at 06:59:21PM -0400, Bandan Das wrote: > > Eduardo Habkost writes: > > > > > On Wed, Jul 13, 2016 at 06:32:27PM -0400, Bandan Das wrote: > > >> Igor Mammedov

Re: [Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug()

2016-07-13 Thread Bandan Das
Eduardo Habkost writes: > On Wed, Jul 13, 2016 at 06:59:21PM -0400, Bandan Das wrote: >> Eduardo Habkost writes: >> >> > On Wed, Jul 13, 2016 at 06:32:27PM -0400, Bandan Das wrote: >> >> Igor Mammedov writes: >> >> >> >> >

Re: [Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug()

2016-07-13 Thread Eduardo Habkost
On Wed, Jul 13, 2016 at 06:59:21PM -0400, Bandan Das wrote: > Eduardo Habkost writes: > > > On Wed, Jul 13, 2016 at 06:32:27PM -0400, Bandan Das wrote: > >> Igor Mammedov writes: > >> > >> > consolidate possible_cpus array management in pc_cpu_plug() >

Re: [Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug()

2016-07-13 Thread Bandan Das
Eduardo Habkost writes: > On Wed, Jul 13, 2016 at 06:32:27PM -0400, Bandan Das wrote: >> Igor Mammedov writes: >> >> > consolidate possible_cpus array management in pc_cpu_plug() >> > for smp_cpus, coldplugged with -device and hotplugged with >> >

Re: [Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug()

2016-07-13 Thread Eduardo Habkost
On Wed, Jul 13, 2016 at 06:32:27PM -0400, Bandan Das wrote: > Igor Mammedov writes: > > > consolidate possible_cpus array management in pc_cpu_plug() > > for smp_cpus, coldplugged with -device and hotplugged with > > device_add. > > So, this takes care of the hotplug case

Re: [Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug()

2016-07-13 Thread Bandan Das
Igor Mammedov writes: > consolidate possible_cpus array management in pc_cpu_plug() > for smp_cpus, coldplugged with -device and hotplugged with > device_add. So, this takes care of the hotplug case and 09/19 took care of the coldplug case, right ? If yes, we should

[Qemu-devel] [PATCH v3 10/19] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug()

2016-07-06 Thread Igor Mammedov
consolidate possible_cpus array management in pc_cpu_plug() for smp_cpus, coldplugged with -device and hotplugged with device_add. Signed-off-by: Igor Mammedov --- hw/i386/pc.c | 25 + 1 file changed, 9 insertions(+), 16 deletions(-) diff --git