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

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



---
 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;
+
     default:
         vshError(ctl, _("unimplemented block statistics parameter type"));
     }
-- 
1.7.4.4


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