[libvirt] [PATCH] There is no virDomainFindBy{ID, Name, UUID} anymore
Cao jin
caoj.fnst at cn.fujitsu.com
Wed Jul 29 09:11:20 UTC 2015
s/virDomainFindBy/virDomainObjListFindBy/
Signed-off-by: Cao jin <caoj.fnst at cn.fujitsu.com>
---
src/qemu/THREADS.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/THREADS.txt b/src/qemu/THREADS.txt
index f3502b4..22d590e 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.
--
2.1.0
More information about the libvir-list
mailing list