[libvirt] [PATCH v2] virsh: Emit error for VSH_OT_DATA without VSH_OFLAG_REQ

Ján Tomko jtomko at redhat.com
Mon Jan 12 13:32:27 UTC 2015


On 12/11/2014 03:46 AM, Hao Liu wrote:
> Commit 6b9964 enforces checking invalid use of VSH_OT_STRING with
> VSH_OFLAG_REQ. This commit tries to do the same thing to stop using
> VSH_OT_DATA without VSH_OFLAG_REQ and also fix existing misuse.
> 
> Signed-off-by: Hao Liu <hliu at redhat.com>
> ---
> V2:
>     Add missing fix of dommemstat --period option.
> 
>  tools/virsh-domain-monitor.c |  4 +--
>  tools/virsh-domain.c         | 68 ++++++++++++++++++++++----------------------
>  tools/virsh-network.c        |  6 ++--
>  tools/virsh-pool.c           | 18 ++++++------
>  tools/virsh-snapshot.c       | 20 ++++++-------
>  tools/virsh.c                | 13 +++++++--
>  6 files changed, 68 insertions(+), 61 deletions(-)

ACK and pushed.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150112/6ea1e114/attachment-0001.sig>


More information about the libvir-list mailing list