]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: remove unneeded locking of driver when restoring
authorJim Fehlig <jfehlig@suse.com>
Wed, 5 Feb 2014 19:50:52 +0000 (12:50 -0700)
committerJim Fehlig <jfehlig@suse.com>
Thu, 6 Feb 2014 17:39:32 +0000 (10:39 -0700)
commit630b645695ac87ad8a6f504ecac4196c3868f876
treec755d7430e47db0f33ba121c712f02c253dfd0b5
parent778067e19593f223f76aba99e18d608cbf3247c7
libxl: remove unneeded locking of driver when restoring

libxlDomainRestoreFlags acquires the driver lock while reading the
domain config from the save file and adding it to
libxlDriverPrivatePtr->domains.  But virDomainObjList provides
self-locking APIs, so remove the needless driver locking.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_driver.c