]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Release VM lock before acquiring virDomainObjListPtr lock
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 11 Feb 2013 16:45:50 +0000 (16:45 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 12 Feb 2013 11:06:03 +0000 (11:06 +0000)
commitd1c7b00b60a4e4fa3d336a945e4710a10997ded0
treeefd528517afc590d875bd047455f60430e39d7ba
parent61b52d2e3813cc8c9ff3ab67f232bd0c65f7318d
Release VM lock before acquiring virDomainObjListPtr lock

When removing a VM from the virDomainObjListPtr, we must not
be holding the VM lock while acquiring the list lock. Re-order
code to ensure that we can release the VM lock early.
src/conf/domain_conf.c