Re: [Qemu-devel] [PATCH v5 05/10] cpu: Add a sync version of cpu_remove()

2015-11-30 Thread David Gibson
On Fri, Nov 20, 2015 at 06:24:34PM +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 v5 05/10] cpu: Add a sync version of cpu_remove()

2015-11-20 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