]> xenbits.xensource.com Git - libvirt.git/commit
conf: Split FindBy{UUID|Name} into locked helpers
authorJohn Ferlan <jferlan@redhat.com>
Fri, 9 Mar 2018 12:09:20 +0000 (07:09 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 3 May 2018 23:09:03 +0000 (19:09 -0400)
commitcf5184d1e1896ff221e499617412771982782126
treeb96d202e1779017016b9f3f5a96d08329df1f783
parent5d84835e09cb4a71f97dd03289d14be5e78af86f
conf: Split FindBy{UUID|Name} into locked helpers

Create helpers virDomainObjListFindByUUIDLocked and
virDomainObjListFindByNameLocked to avoid the need
to lock the domain object list leaving that task
for the caller.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/conf/virdomainobjlist.c