From: Cao jin Date: Wed, 29 Jul 2015 09:11:20 +0000 (+0800) Subject: There is no virDomainFindBy{ID, Name, UUID} anymore X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e7fef6d00e60a181d0606bcca8186c23614e1827;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git There is no virDomainFindBy{ID, Name, UUID} anymore s/virDomainFindBy/virDomainObjListFindBy/ Signed-off-by: Cao jin --- diff --git a/src/qemu/THREADS.txt b/src/qemu/THREADS.txt index f3502b415..22d590eff 100644 --- a/src/qemu/THREADS.txt +++ b/src/qemu/THREADS.txt @@ -25,7 +25,7 @@ There are a number of locks on various objects * virDomainObjPtr - Will be locked after calling any of the virDomainFindBy{ID,Name,UUID} + Will be locked after calling any of the virDomainObjListFindBy{ID,Name,UUID} methods. However, preferred method is qemuDomObjFromDomain() that uses virDomainFindByUUIDRef() which also increases the reference counter and finds the domain in the domain list without blocking all other lookups.