]> xenbits.xensource.com Git - libvirt.git/commit
libxl: Drop driver lock in libxlDomainDefineXML
authorJim Fehlig <jfehlig@suse.com>
Thu, 18 Sep 2014 21:05:34 +0000 (15:05 -0600)
committerJim Fehlig <jfehlig@suse.com>
Fri, 19 Sep 2014 14:15:52 +0000 (08:15 -0600)
commitc78923732d2067ec5d6e9b3fd82e4e3a1592df92
tree1b07fd88430dd39968a288811da4ddb47c671b3d
parent74eaa0918b7fa612e534bd7ddb2c6aac436fc50c
libxl: Drop driver lock in libxlDomainDefineXML

There is no need to acquire the driver-wide lock in
libxlDomainDefineXML.  When switching to jobs in the libxl
driver, most driver-wide locks were removed.  The locking here
was preserved since I mistakenly thought virDomainObjListAdd
needed protection.  This is not the case, so remove the
unnecessary locking.
src/libxl/libxl_driver.c