update libvirt conn get method