[libvirt] [PATCH] repeat lookup by name in LookupByID

Evgeniy Sokolov evg at openvz.org
Wed Jul 16 08:04:39 UTC 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-openvz-lookupbyid.diff
Type: text/x-patch
Size: 1776 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080716/a639d6c9/attachment-0001.bin>


More information about the libvir-list mailing list