mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
There is no virDomainFindBy{ID, Name, UUID} anymore
s/virDomainFindBy/virDomainObjListFindBy/ Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
This commit is contained in:
parent
1439eb32af
commit
e7fef6d00e
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user