Re: [PATCHv5 2/9] virsh: add support to VIR_TYPED_PARAM_STRING in vshGetTypedParamValue

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

 



On 12/20/2011 01:34 AM, Hu Tao wrote:
> ---
>  tools/virsh.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/tools/virsh.c b/tools/virsh.c
> index 3654589..17919e9 100644
> --- a/tools/virsh.c
> +++ b/tools/virsh.c
> @@ -17086,6 +17086,10 @@ vshGetTypedParamValue(vshControl *ctl, virTypedParameterPtr item)
>          ret = virAsprintf(&str, "%s", item->value.b ? _("yes") : _("no"));
>          break;
>  
> +    case VIR_TYPED_PARAM_STRING:
> +        ret = virAsprintf(&str, "%s", item->value.s);
> +        break;

Already covered by commit f8616336.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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