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>
Tue, 23 Dec 2014 20:16:22 +0000 (13:16 -0700)
commitfb1e0312f4cfc2375ee94d40e5f2999cd761337d
treea470dd981b1b8e1f2efb9296d6436a918165b796
parent60a353305072d8f2b62685a77d5dc8d44c0cb05c
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