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

Jiri Denemark jdenemar at redhat.com
Mon Nov 12 09:35:08 UTC 2012

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



More information about the libvir-list mailing list