An ID may be passed to virDomainLookupByName function.
In exemple:
virDomainLookupByName(conn, "1")
is equivalent to
virDomainLookupByID(conn, 1)
This functionality is very useful but isn't written in the libvirt
documentation.
Is this functionality will continue to exist in future versions of
libvirt or not ?
Thanks,
Philippe Berthault.