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

Michal Privoznik mprivozn at redhat.com
Mon Nov 12 10:06:29 UTC 2012


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




More information about the libvir-list mailing list