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 17:45:50 +0000 (10:45 -0700)
commit12c35ca8e6a1dff79fe706b24edc094be7df9f93
tree99703bcf6c7d1721bbdb1bfe4fbe29b27daa53b0
parent50c84df2c97b6438b3f798f722afcd724a8c14fe
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