[PATCH 0/2] virsh: Further improve handling of integer options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As suggested by Michal: now that we have a generic error message for
failures related to the parsing of integer options, it makes sense to
perform the corresponding check in a single spot instead of replicating
it every time vshCommandOpt*() is used.

Andrea Bolognani (2):
  virsh: Pass vshControl to all vshCommandOpt*() calls.
  virsh: Move error messages inside vshCommandOpt*() functions.

 tests/vcpupin                |   4 +-
 tools/virsh-domain-monitor.c |  97 +++---
 tools/virsh-domain.c         | 696 +++++++++++++++++++------------------------
 tools/virsh-host.c           |  87 ++----
 tools/virsh-interface.c      |  18 +-
 tools/virsh-network.c        |  38 ++-
 tools/virsh-nodedev.c        |   6 +-
 tools/virsh-pool.c           |  26 +-
 tools/virsh-secret.c         |   8 +-
 tools/virsh-snapshot.c       |  88 +++---
 tools/virsh-volume.c         |  50 ++--
 tools/virsh.c                | 195 ++++++------
 tools/virsh.h                |  77 ++---
 13 files changed, 624 insertions(+), 766 deletions(-)

-- 
2.1.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]