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

Eric Blake eblake at redhat.com
Tue Dec 20 16:05:52 UTC 2011


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

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


More information about the libvir-list mailing list