[libvirt] [PATCH] openvzRegister: Check for error return