[libvirt] [PATCH 9/9] Virsh support for vol zeroing

Eric Blake eblake at redhat.com
Tue Mar 2 23:46:15 UTC 2010


According to David Allan on 3/2/2010 3:13 PM:
> ---
>  tools/virsh.c |   42 ++++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 42 insertions(+), 0 deletions(-)
> 
> diff --git a/tools/virsh.c b/tools/virsh.c
> index a6a637d..e52b011 100644
> --- a/tools/virsh.c
> +++ b/tools/virsh.c
> @@ -5221,6 +5221,47 @@ cmdVolDelete(vshControl *ctl, const vshCmd *cmd)
> 
> 
>  /*
> + * "vol-zero-out" command
> + */
> +static const vshCmdInfo info_vol_zero_out[] = {
> +    {"help", gettext_noop("zero out a vol")},
> +    {"desc", gettext_noop("Ensure further reads from a volume return zeroes.")},

Unrelated to your patch, but is there any reason we don't use N_() as the
idiomatic counterpart to _(), rather than spelling out gettext_noop
everywhere?

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list