libvirt/tools
Martin Kletzander 0c56d94318 tools: Fix connect command
The man page says: "(Re)-Connect to the hypervisor. When the shell is
first started, this is automatically run with the URI parameter
requested by the "-c" option on the command line."  However, if you run:

  virsh -c 'test://default' 'connect; uri'

the output will not be 'test://default'.  That's because the 'connect'
command does not care about any virsh-only related settings and if it is
run without parameters, it connects with @uri == NULL.  Not only that
doesn't comply to what the man page describes, but it also doesn't make
sense.  It also means you aren't able to reconnect to whatever you are
connected currently.

So let's fix that in both virsh and virt-admin add a test case for it.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2016-05-02 07:18:25 +02:00
..
nss
wireshark
libvirt_win_icon_16x16.ico
libvirt_win_icon_32x32.ico
libvirt_win_icon_48x48.ico
libvirt_win_icon_64x64.ico
libvirt-guests.init.in
libvirt-guests.service.in
libvirt-guests.sh.in
libvirt-guests.sysconf
Makefile.am tools: Introduce install-nss targets 2016-04-25 18:56:48 +02:00
virsh_win_icon.rc
virsh-console.c
virsh-console.h
virsh-domain-monitor.c
virsh-domain-monitor.h
virsh-domain.c Fix minor typos in messages 2016-04-30 15:37:31 +02:00
virsh-domain.h
virsh-edit.c
virsh-host.c virsh: host: Use bitmap size in bytes rather than bit count 2016-04-25 13:27:16 +02:00
virsh-host.h
virsh-interface.c
virsh-interface.h
virsh-network.c
virsh-network.h
virsh-nodedev.c
virsh-nodedev.h
virsh-nwfilter.c
virsh-nwfilter.h
virsh-pool.c
virsh-pool.h
virsh-secret.c
virsh-secret.h
virsh-snapshot.c
virsh-snapshot.h
virsh-volume.c man: Clarify virsh vol-clone works within a single pool 2016-04-20 08:55:31 -04:00
virsh-volume.h
virsh.c tools: Fix connect command 2016-05-02 07:18:25 +02:00
virsh.h
virsh.pod man: Fix links 2016-04-25 15:40:44 +02:00
virt-admin.c tools: Fix connect command 2016-05-02 07:18:25 +02:00
virt-admin.h
virt-admin.pod man: Fix links 2016-04-25 15:40:44 +02:00
virt-host-validate-common.c tools: Fix memory leak 2016-04-16 08:04:14 -04:00
virt-host-validate-common.h host-validate: Improve CPU flags processing 2016-04-07 17:31:41 +02:00
virt-host-validate-lxc.c
virt-host-validate-lxc.h
virt-host-validate-qemu.c host-validate: Improve CPU flags processing 2016-04-07 17:31:41 +02:00
virt-host-validate-qemu.h
virt-host-validate.c build: Extract pod from source files 2016-04-25 15:40:43 +02:00
virt-host-validate.pod man: Fix links 2016-04-25 15:40:44 +02:00
virt-login-shell.c util: Add virGettextInitialize, convert the code 2016-04-14 13:22:40 -04:00
virt-login-shell.conf
virt-login-shell.pod man: Fix links 2016-04-25 15:40:44 +02:00
virt-pki-validate.in build: Extract pod from source files 2016-04-25 15:40:43 +02:00
virt-pki-validate.pod man: Fix links 2016-04-25 15:40:44 +02:00
virt-sanlock-cleanup.in build: Extract pod from source files 2016-04-25 15:40:43 +02:00
virt-sanlock-cleanup.pod man: Fix links 2016-04-25 15:40:44 +02:00
virt-xml-validate.in build: Extract pod from source files 2016-04-25 15:40:43 +02:00
virt-xml-validate.pod man: Fix links 2016-04-25 15:40:44 +02:00
vsh.c virsh: Fix support for 64 migration options 2016-04-28 20:16:41 +02:00
vsh.h