]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix locking with qemuMigrationPrepareTunnel method
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 16 May 2011 14:17:15 +0000 (15:17 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 16 May 2011 14:17:15 +0000 (15:17 +0100)
The qemuMigrationPrepareTunnel method should not unlock the
qemu driver, since that is the caller's job.

* src/qemu/qemu_migration.c: Fix qemuMigrationPrepareTunnel
  unlocking of QEMU driver

src/qemu/qemu_migration.c

index 0e971ef75626ae29aaae51b154cce042865a0e4b..8e4d4e5c8805253dc112a7a9b1f65fcb85eef37e 100644 (file)
@@ -369,7 +369,6 @@ cleanup:
         virDomainObjUnlock(vm);
     if (event)
         qemuDomainEventQueue(driver, event);
-    qemuDriverUnlock(driver);
     return ret;
 }