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 13:28:47 +0000 (06:28 -0700)
commit4ba560e050fa83a2ef2083fbfa0ad9484b9393d4
treeddabf72dd8cac344b7fc23b02e5e3bc9a90f6e7c
parent3ebc4efa39ce9188017ee35230ef556835042768
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