1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-27 07:22:07 +03:00
libvirt/tools
John Ferlan f6a4ccdc83 vsh: Fix some issues in auto completion code
1. Move the declaration of const vshCmdDef *help - it should be at the
   top of the "if" rather than in the middle.

2. Change a comparison from && to || - without doing so we could crash
   on commands like 'virsh list' which would allow completion of some
   non -- option based on whatever was found in the current working
   directory and then as soon as that was completed, the next <tab>
   would crash since "opt" would be returned as NULL, but the check
   was dereferencing "&& opt->type"

3. Before dereferencing opt->completer, be sure opt isn't NULL.
2016-10-10 15:27:45 -04:00
..
nss NSS: Add explicit check to not report expired lease 2016-10-05 08:33:00 +02:00
wireshark wireshark: Drop glib dependency 2016-08-01 12:02:51 +02:00
libvirt_win_icon_16x16.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_32x32.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_48x48.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_64x64.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt-guests.init.in Fix LSB requirements in service script and sync them 2016-01-11 15:49:13 +01:00
libvirt-guests.service.in libvirt-guests.service: Add Requires=libvirtd.service 2016-09-06 16:05:20 +02:00
libvirt-guests.sh.in tools: Exclude Xen dom0 from libvirt-guests.sh list 2016-10-10 16:52:08 +08:00
libvirt-guests.sysconf libvirt-guests: Allow time sync on guests resume 2015-02-23 08:49:21 +01:00
Makefile.am tools: Don't list virsh-* under EXTRA_DIST 2016-08-31 12:52:11 +02:00
virsh_win_icon.rc Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
virsh-console.c tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-console.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-domain-monitor.c qemu: expand domain memory statistics with 'last-update' timestamp 2016-07-26 17:30:01 +02:00
virsh-domain-monitor.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-domain.c virsh domdisplay: introduce '--all' for showing all possible graphical displays 2016-10-10 04:21:38 +02:00
virsh-domain.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-edit.c virsh-edit: Make force editing usable 2015-02-20 07:46:54 +01:00
virsh-host.c cpu: Special case models == NULL in cpuGetModels 2016-09-22 15:40:08 +02:00
virsh-host.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-interface.c virsh: respect -q/--quiet more 2016-08-24 17:43:29 +02:00
virsh-interface.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-network.c virsh: Fix *-event error string 2016-09-08 09:54:12 +02:00
virsh-network.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-nodedev.c virt-admin: Tweak command parsing logic so that aliases point to new commands 2016-09-20 15:17:46 +02:00
virsh-nodedev.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-nwfilter.c virsh: respect -q/--quiet more 2016-08-24 17:43:29 +02:00
virsh-nwfilter.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-pool.c virsh: Fix *-event error string 2016-09-08 09:54:12 +02:00
virsh-pool.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-secret.c virsh: respect -q/--quiet more 2016-08-24 17:43:29 +02:00
virsh-secret.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-snapshot.c virsh: respect -q/--quiet more 2016-08-24 17:43:29 +02:00
virsh-snapshot.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-volume.c storage: Delete extra wrap after vol-resize error 2016-09-07 11:11:30 -04:00
virsh-volume.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh.c virsh: Move cmdSelfTest to vsh 2016-09-14 13:18:07 +02:00
virsh.h virsh: Add support for text based polkit authentication 2016-03-01 06:50:16 -05:00
virsh.pod virsh domdisplay: introduce '--all' for showing all possible graphical displays 2016-10-10 04:21:38 +02:00
virt-admin.c Fix various code comment typos 2016-09-26 08:06:30 -04:00
virt-admin.h Revert "admin: Rename virAdmConnect to virAdmDaemon" 2015-12-21 10:07:59 +01:00
virt-admin.pod virt-admin: Add some command aliases to provide syntax sugar over ugly commands 2016-09-20 15:17:46 +02:00
virt-host-validate-common.c tools: virt-host-validate: HW virt support on s390 2016-05-04 16:30:30 +02:00
virt-host-validate-common.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
virt-host-validate-lxc.c host-validate: Fix suggestion for missing cpu cgroup 2016-03-30 09:41:54 +02:00
virt-host-validate-lxc.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
virt-host-validate-qemu.c virt-host-validate: fix build with clang 2016-06-14 08:02:45 +03:00
virt-host-validate-qemu.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
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 tools: Fix comparison in virLoginShellGetShellArgv 2016-07-19 07:51:10 -04:00
virt-login-shell.conf virt-login-shell: add ability to auto-detect shell from container 2016-06-10 11:03:02 +01:00
virt-login-shell.pod virt-login-shell: add ability to auto-detect shell from container 2016-06-10 11:03:02 +01: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 vsh: Fix some issues in auto completion code 2016-10-10 15:27:45 -04:00
vsh.h virt-admin: Tweak command parsing logic so that aliases point to new commands 2016-09-20 15:17:46 +02:00