[libvirt] [PATCH] qemu: Clear async job when p2p migration fails early

Jiri Denemark jdenemar at redhat.com
Wed Oct 17 13:06:47 UTC 2012


On Wed, Oct 17, 2012 at 14:29:04 +0200, Jiri Denemark wrote:
> When p2p migration fails early because qemuMigrationIsAllowed or
> qemuMigrationIsSafe say migration should be cancelled, we fail to clear
> the migration-out async job. As a result of that, further APIs called
> for the same domain may fail with Timed out during operation: cannot
> acquire state change lock.
> 
> Reported by Guido Winkelmann.

BTW, this bug was first introduced in 0.9.5 (commit
e2fb96d92b4b986a2b5732416f7bfd302a848970) and than copied in the next if
statement. In other words, this patch seems to be worth backporting to various
maintenance releases.

Jirka




More information about the libvir-list mailing list