[libvirt] [PATCH 0/8] Simplify mutually exclusive argument handling in virsh
Peter Krempa
pkrempa at redhat.com
Fri Mar 15 15:46:28 UTC 2013
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?
More information about the libvir-list
mailing list