[libvirt] [PATCH 00/17] virsh bash completion improvements

Lin Ma posted 17 patches 2 weeks ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200911071318.12495-1-lma@suse.de
tools/virsh-backup.c            |   4 +-
tools/virsh-checkpoint.c        |  17 +-
tools/virsh-completer-domain.c  | 264 +++++++++++++++++++++++++++++++-
tools/virsh-completer-domain.h  |  31 ++++
tools/virsh-completer-network.c |  42 +++++
tools/virsh-completer-network.h |   4 +
tools/virsh-domain.c            |  33 +++-
tools/virsh-network.c           |  12 +-
tools/virsh-snapshot.c          |  16 +-
tools/vsh.c                     |   1 +
10 files changed, 395 insertions(+), 29 deletions(-)

[libvirt] [PATCH 00/17] virsh bash completion improvements

Posted by Lin Ma 2 weeks ago
Lin Ma (17):
  virshDomainNameCompleter: Add some of VIR_CONNECT_LIST_DOMAINS_ flags
  virsh: snapshot: Only return domains that have snapshot images
  virsh: managedsave-*: Only return domains that have a managed save
    image
  virsh: checkpoint: Only return domains that have checkpoints
  virsh: Add event completer to --enable/--disable args of perf command
  vshReadlineParse: Ignore vshReadlineOptionsGenerator for VSH_OT_INT
    options
  virsh: Add network uuid completion to network-name command
  virsh: Add domain uuid completion to domname command
  virsh: Add iothread IDs completion to iothread* commands
  virsh: Add completion for --iothread argument of attach-disk command
  virsh: Add vcpu IDs completion to vcpupin command
  virsh: Add vcpu list completion to setvcpu command
  virsh: Add logical CPU list completion for --cpulist argument
  virsh: limit completion of net-dhcp-leases to active networks
  virsh: limit completion of net-port* to active networks
  virsh: limit completion of backup-{begin, dumpxml} to active domains
  virsh: limit completion of checkpoint-{create, delete} to active
    domains

 tools/virsh-backup.c            |   4 +-
 tools/virsh-checkpoint.c        |  17 +-
 tools/virsh-completer-domain.c  | 264 +++++++++++++++++++++++++++++++-
 tools/virsh-completer-domain.h  |  31 ++++
 tools/virsh-completer-network.c |  42 +++++
 tools/virsh-completer-network.h |   4 +
 tools/virsh-domain.c            |  33 +++-
 tools/virsh-network.c           |  12 +-
 tools/virsh-snapshot.c          |  16 +-
 tools/vsh.c                     |   1 +
 10 files changed, 395 insertions(+), 29 deletions(-)

-- 
2.26.0

Re: [libvirt] [PATCH 00/17] virsh bash completion improvements

Posted by Michal Privoznik 1 week ago
On 9/11/20 9:13 AM, Lin Ma wrote:
> Lin Ma (17):
>    virshDomainNameCompleter: Add some of VIR_CONNECT_LIST_DOMAINS_ flags
>    virsh: snapshot: Only return domains that have snapshot images
>    virsh: managedsave-*: Only return domains that have a managed save
>      image
>    virsh: checkpoint: Only return domains that have checkpoints
>    virsh: Add event completer to --enable/--disable args of perf command
>    vshReadlineParse: Ignore vshReadlineOptionsGenerator for VSH_OT_INT
>      options
>    virsh: Add network uuid completion to network-name command
>    virsh: Add domain uuid completion to domname command
>    virsh: Add iothread IDs completion to iothread* commands
>    virsh: Add completion for --iothread argument of attach-disk command
>    virsh: Add vcpu IDs completion to vcpupin command
>    virsh: Add vcpu list completion to setvcpu command
>    virsh: Add logical CPU list completion for --cpulist argument
>    virsh: limit completion of net-dhcp-leases to active networks
>    virsh: limit completion of net-port* to active networks
>    virsh: limit completion of backup-{begin, dumpxml} to active domains
>    virsh: limit completion of checkpoint-{create, delete} to active
>      domains
> 
>   tools/virsh-backup.c            |   4 +-
>   tools/virsh-checkpoint.c        |  17 +-
>   tools/virsh-completer-domain.c  | 264 +++++++++++++++++++++++++++++++-
>   tools/virsh-completer-domain.h  |  31 ++++
>   tools/virsh-completer-network.c |  42 +++++
>   tools/virsh-completer-network.h |   4 +
>   tools/virsh-domain.c            |  33 +++-
>   tools/virsh-network.c           |  12 +-
>   tools/virsh-snapshot.c          |  16 +-
>   tools/vsh.c                     |   1 +
>   10 files changed, 395 insertions(+), 29 deletions(-)
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal