[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v2] qemu: Allow migration to be cancelled at prepare phase



On 12.11.2012 10:35, Jiri Denemark wrote:
> On Thu, Nov 08, 2012 at 14:53:31 +0100, Michal Privoznik wrote:
>> Currently, if user calls virDomainAbortJob we just issue
>> 'migrate_cancel' and hope for the best. However, if user calls
>> the API in wrong phase when migration hasn't been started yet
>> (perform phase) the cancel request is just ignored. With this
>> patch, the request is remembered and as soon as perform phase
>> starts, migration is cancelled.
>> ---
>>
>> diff to v1:
>> -don't move 'migrate_cancel'
>> -drop qemuDomainObjAbortAsyncJobRequested()
>> -detect asyncAbort earlier
> 
> ACK
> 
> Jirka

Thanks, pushed.

Miichal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]