]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: use vshReconnect for non-default connections too
authorJán Tomko <jtomko@redhat.com>
Thu, 13 Dec 2012 13:08:01 +0000 (14:08 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 13 Dec 2012 15:39:38 +0000 (16:39 +0100)
commit8d0e7eb4c11ac7bf6437c0d70a47ee5cc35081fb
treeea9ea95a7ddea3bd4cd6548b29839e5c577f8d62
parentd94b501b7bffd8a2e30ecc2928b679251e8ef80e
virsh: use vshReconnect for non-default connections too

For non-default connections (specified by the environment variable or
the command line option) we call virConnectOpenAuth without registering
the vshCatchDisconnect callback.

This calls vshReconnect instead which takes care of it.
tools/virsh.c