[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/9] cpus: Add a sync version of cpu_remove()
From: |
Matthew Rosato |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/9] cpus: Add a sync version of cpu_remove() |
Date: |
Thu, 19 Nov 2015 10:36:19 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 11/19/2015 10:25 AM, Paolo Bonzini wrote:
>
>
> On 19/11/2015 16:10, Matthew Rosato wrote:
>> From: Bharata B Rao <address@hidden>
>>
>> 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 <address@hidden>
>> Signed-off-by: Matthew Rosato <address@hidden>
>> [Call cpu_remove() directly from cpu_remove_sync()]
>
> Are you using it in these patches?
>
Ugh, nice catch -- I am not using it anymore, I decided it was fine to
just use cpu_remove in patch 8 directly. So, this patch can be dropped
from the set.
Matt
- [Qemu-devel] [PATCH v2 0/9] s390: Allow hotplug of s390 CPUs, Matthew Rosato, 2015/11/19
- [Qemu-devel] [PATCH v2 1/9] cpus: Reclaim vCPU objects, Matthew Rosato, 2015/11/19
- [Qemu-devel] [PATCH v2 6/9] s390x/cpu: Add functions to (un)register CPU state, Matthew Rosato, 2015/11/19
- [Qemu-devel] [PATCH v2 4/9] s390x/cpu: Set initial CPU state in common routine, Matthew Rosato, 2015/11/19
- [Qemu-devel] [PATCH v2 5/9] s390x/cpu: Move some CPU initialization into realize, Matthew Rosato, 2015/11/19
- [Qemu-devel] [PATCH v2 3/9] s390x/cpu: Cleanup init in preparation for hotplug, Matthew Rosato, 2015/11/19
- [Qemu-devel] [PATCH v2 2/9] cpus: Add a sync version of cpu_remove(), Matthew Rosato, 2015/11/19
- [Qemu-devel] [PATCH v2 7/9] s390x/cpu: Extra cleanup during CPU finalize, Matthew Rosato, 2015/11/19
- [Qemu-devel] [PATCH v2 9/9] s390x/cpu: Allow hot plug/unplug of CPUs, Matthew Rosato, 2015/11/19
- [Qemu-devel] [PATCH v2 8/9] s390/virtio-ccw: Add hotplug handler and prepare for unplug, Matthew Rosato, 2015/11/19