[libvirt] [PATCH] repeat lookup by name in LookupByID
Evgeniy Sokolov
Wednesday, 16 July
2008
Wed, 16 Jul
'08
4:04 p.m.
There was error every time when I undefine stoped container
"no domain with matching id".
Bug arrise due to stoped container has ID = -1.
In such case container will be searched by name.
other:
use VIR_ERR_NO_DOMAIN when domain is not found