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

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



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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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