Re: [Qemu-devel] [PATCH v6 06/11] cpu: Add a sync version of cpu_remove()

2016-01-12 Thread David Gibson
On Tue, Jan 12, 2016 at 12:23:03PM +0530, Bharata B Rao wrote: > On Tue, Jan 12, 2016 at 03:16:15PM +1100, David Gibson wrote: > > On Fri, Jan 08, 2016 at 12:25:14PM +0530, Bharata B Rao wrote: > > > This sync API will be used by the CPU hotplug code to wait for the CPU to > > > completely get remo

Re: [Qemu-devel] [PATCH v6 06/11] cpu: Add a sync version of cpu_remove()

2016-01-11 Thread Bharata B Rao
On Tue, Jan 12, 2016 at 03:16:15PM +1100, David Gibson wrote: > On Fri, Jan 08, 2016 at 12:25:14PM +0530, Bharata B Rao wrote: > > This sync API will be used by the CPU hotplug code to wait for the CPU to > > completely get removed before flagging the failure to the device_add > > command. > > > >

Re: [Qemu-devel] [PATCH v6 06/11] cpu: Add a sync version of cpu_remove()

2016-01-11 Thread David Gibson
On Fri, Jan 08, 2016 at 12:25:14PM +0530, Bharata B Rao wrote: > This sync API will be used by the CPU hotplug code to wait for the CPU to > completely get removed before flagging the failure to the device_add > command. > > Sync version of this call is needed to correctly recover from CPU > reali

[Qemu-devel] [PATCH v6 06/11] cpu: Add a sync version of cpu_remove()

2016-01-07 Thread Bharata B Rao
This sync API will be used by the CPU hotplug code to wait for the CPU to completely get removed before flagging the failure to the device_add command. Sync version of this call is needed to correctly recover from CPU realization failures when ->plug() handler fails. Signed-off-by: Bharata B Rao