]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
test: Drop locked access to testDriver->domains
authorPeter Krempa <pkrempa@redhat.com>
Mon, 22 Jun 2015 12:33:23 +0000 (14:33 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 25 Jun 2015 12:09:48 +0000 (14:09 +0200)
commit21be8e8ecc4b36036b42e444cd55e5d9c70a885f
tree6f7b16a7307eaccf94d81405776d8c63679c2708
parentcaf5aef4c5673c55420116cdd7cd6696c4cfe702
test: Drop locked access to testDriver->domains

Only self-locking APIs are used and the pointer is immutable so there's
no need to lock the driver to access the domain list.

This patch removes locking partially for everything that will not be
converted to testDomObjFromDomain in the next patch.
src/test/test_driver.c