Re: [Qemu-devel] [PATCH v6 10/11] spapr: CPU hotplug support

2016-01-12 Thread Bharata B Rao
On Wed, Jan 13, 2016 at 10:58:06AM +1100, Alexey Kardashevskiy wrote: > On 01/08/2016 05:55 PM, Bharata B Rao wrote: > >Support CPU hotplug via device-add command like this: > > > >(qemu) device_add powerpc64-cpu-core,id=core2 > > > >In response to device_add, CPU core device will be created. CPU c

Re: [Qemu-devel] [PATCH v6 10/11] spapr: CPU hotplug support

2016-01-12 Thread Bharata B Rao
On Tue, Jan 12, 2016 at 04:58:44PM +1100, David Gibson wrote: > On Fri, Jan 08, 2016 at 12:25:18PM +0530, Bharata B Rao wrote: > > > > +static int spapr_core_attach(Object *obj, void *opaque) > > +{ > > +sPAPRMachineClass *smc = SPAPR_MACHINE_GET_CLASS(qdev_get_machine()); > > +sPAPRMachin

Re: [Qemu-devel] [PATCH v6 10/11] spapr: CPU hotplug support

2016-01-12 Thread Alexey Kardashevskiy
On 01/08/2016 05:55 PM, Bharata B Rao wrote: Support CPU hotplug via device-add command like this: (qemu) device_add powerpc64-cpu-core,id=core2 In response to device_add, CPU core device will be created. CPU core device creates and realizes CPU thread devices. If the machine type supports CPU

Re: [Qemu-devel] [PATCH v6 10/11] spapr: CPU hotplug support

2016-01-11 Thread David Gibson
On Fri, Jan 08, 2016 at 12:25:18PM +0530, Bharata B Rao wrote: > Support CPU hotplug via device-add command like this: > > (qemu) device_add powerpc64-cpu-core,id=core2 > > In response to device_add, CPU core device will be created. CPU core > device creates and realizes CPU thread devices. If th

[Qemu-devel] [PATCH v6 10/11] spapr: CPU hotplug support

2016-01-07 Thread Bharata B Rao
Support CPU hotplug via device-add command like this: (qemu) device_add powerpc64-cpu-core,id=core2 In response to device_add, CPU core device will be created. CPU core device creates and realizes CPU thread devices. If the machine type supports CPU hotplug, boot-time CPUs are created as CPU core