Re: [Qemu-devel] [PATCH v2 2/9] cpus: Add a sync version of cpu_remove()

2015-11-19 Thread Matthew Rosato
On 11/19/2015 10:25 AM, Paolo Bonzini wrote: > > > On 19/11/2015 16:10, Matthew Rosato wrote: >> From: 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 vers

Re: [Qemu-devel] [PATCH v2 2/9] cpus: Add a sync version of cpu_remove()

2015-11-19 Thread Paolo Bonzini
On 19/11/2015 16:10, Matthew Rosato wrote: > From: 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

[Qemu-devel] [PATCH v2 2/9] cpus: Add a sync version of cpu_remove()

2015-11-19 Thread Matthew Rosato
From: 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-