|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v3 26/31] libxl_qmp: Disable beautify for QMP generated cmd
There is no need for it.
Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
tools/libxl/libxl_qmp.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c
index 302178c5f5..f44b313a5e 100644
--- a/tools/libxl/libxl_qmp.c
+++ b/tools/libxl/libxl_qmp.c
@@ -601,6 +601,11 @@ static char *qmp_prepare_qmp_cmd(libxl__gc *gc,
return NULL;
}
+#if HAVE_YAJL_V2
+ /* Disable beautify for data sent to QEMU */
+ yajl_gen_config(hand, yajl_gen_beautify, 0);
+#endif
+
yajl_gen_map_open(hand);
libxl__yajl_gen_asciiz(hand, "execute");
libxl__yajl_gen_asciiz(hand, cmd);
--
Anthony PERARD
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |