[libvirt] [PATCH] There is no virDomainFindBy{ID, Name, UUID} anymore
Martin Kletzander
mkletzan at redhat.com
Fri Jul 31 12:38:04 UTC 2015
On Wed, Jul 29, 2015 at 05:11:20PM +0800, Cao jin wrote:
>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(-)
>
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 at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150731/e3c4de0a/attachment-0001.sig>
More information about the libvir-list
mailing list