[libvirt] [PATCH alternative 1/2] virDomainGetID2