Re: [PATCH 0/8] Simplify mutually exclusive argument handling in virsh

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

 



On 03/07/13 13:52, Peter Krempa wrote:
This patchset introduces a new macro that allows simple checking for mutually
exclusive arguments in virsh and uses it in many occasions in virs.

Peter Krempa (8):
   virsh: Introduce macros to reject mutually exclusive arguments
   virsh-snapshot: Refactor virsh snapshot-list
   virsh-host: Refactor cmdFreecell
   virsh-domain: Fix flag name in error message to match the check
   virsh-snapshot: Refactor cmdSnapshotCurrent
   virsh-snapshot: Use the mutually exclusive params macro in
     cmdSnapshotEdit
   virsh-snapshot: Simplify cleanup path in cmdSnapshotEdit
   virsh-domain: Simplify usage of --current, --live and --config flags

  po/POTFILES.in         |   1 +
  tools/virsh-domain.c   | 262 +++++++++++++++++++++----------------------------
  tools/virsh-host.c     |  55 +++++------
  tools/virsh-snapshot.c | 181 +++++++++++++---------------------
  tools/virsh.h          |  42 ++++++++
  5 files changed, 248 insertions(+), 293 deletions(-)


Ping?

--
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]