[libvirt] [PATCHv2] qemu: Re-add driver unlock to qemuDomainSendKey

Viktor Mihajlovski mihajlov at linux.vnet.ibm.com
Wed Jan 23 13:55:15 UTC 2013


Should have been done in commit 56fd513 already, but was missed
due to oversight: qemuDomainSendKey didn't release the driver lock
in its cleanup section. This fixes an issue introduced by commit
8c5d2ba.

Signed-off-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
---
V2 Changes:
 - Removed bogus hunk for qemuDomainManagedSave
 - Enhanced subject line and patch description

 src/qemu/qemu_driver.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 72907d2..6d4c1e9 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -2439,6 +2439,7 @@ endjob:
 cleanup:
     if (vm)
         virObjectUnlock(vm);
+    qemuDriverUnlock(driver);
     return ret;
 }
 
-- 
1.7.9.5




More information about the libvir-list mailing list