qemu: migration: Unlock vm on failed ACL check in protocol v2 APIs
authorPeter Krempa <pkrempa@redhat.com>
Mon, 8 Dec 2014 18:25:21 +0000 (19:25 +0100)
committerEric Blake <eblake@redhat.com>
Mon, 22 Dec 2014 23:43:49 +0000 (16:43 -0700)
commit220759259bcbcc705a96dc1cbaeb2f2ce980c479
tree55b0cd75b9aeea00059479c1b2b40fa6812800f7
parent94be529b0e26d94bd7100543363df984ab14ad9e
qemu: migration: Unlock vm on failed ACL check in protocol v2 APIs

Avoid leaving the domain locked on a failed ACL check in
qemuDomainMigratePerform() and qemuDomainMigrateFinish2().

Introduced in commit abf75aea247e (Add ACL checks into the QEMU driver).

(cherry picked from commit 2bdcd29c713dfedd813c89f56ae98f6f3898313d)
src/qemu/qemu_driver.c