store virsh list in list instead of querying libvirt for each chain to speedup the function