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:
Cao jin 2015-07-29 17:11:20 +08:00 committed by Martin Kletzander
parent 1439eb32af
commit e7fef6d00e

View File

@ -25,7 +25,7 @@ There are a number of locks on various objects
* virDomainObjPtr * 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 methods. However, preferred method is qemuDomObjFromDomain() that uses
virDomainFindByUUIDRef() which also increases the reference counter and virDomainFindByUUIDRef() which also increases the reference counter and
finds the domain in the domain list without blocking all other lookups. finds the domain in the domain list without blocking all other lookups.