[libvirt] [PATCH 4/9] phyp: Make generic domain listing functions return -1 in case of error