libvirt_domain_lookup_by_id — Try to look up a domain based on the hypervisor ID number
Try to look up a domain based on the hypervisor ID number. Note that this won't work for inactive domains which have an ID of -1, in that case a lookup based on the Name or UUId need to be done instead.
Libvirt connection obtained by calling libvirt_connect().
Hypervisor ID of a domain.
FALSE on failure and domain resource on success