On Wed, Jul 29, 2015 at 05:11:20PM +0800, Cao jin wrote:
s/virDomainFindBy/virDomainObjListFindBy/
Signed-off-by: Cao jin <caoj.fnst(a)cn.fujitsu.com>
---
src/qemu/THREADS.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
ACK after release, I'm adding it to my after-release queue.
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
--
libvir-list mailing list
libvir-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list