virt: Add connect function into virsh module.