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:18:49 +0000 (16:18 -0700)
commit12496319a24dd923c5f321c84112fd0e73979413
tree95044842115170b0fc4e27f4c977ba2151bb26e5
parent584e876ba2057b472074dbf177d2397392d70363
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