aboutsummaryrefslogtreecommitdiff
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-11-17 13:31:04 +0100
committerKevin Wolf <kwolf@redhat.com>2014-12-10 10:25:30 +0100
commit4821cd4cfd50185979d9a8c335acb62d97972dbb (patch)
tree5d27f96621a3ba204f0243ca1cb27a07c70a73a4 /qemu-options.hx
parent4b58554a0e60aba6f1c6f391759f148f7bca181b (diff)
chardev: Add -qmp-pretty
Add a command line option for adding a QMP monitor using pretty JSON formatting. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r--qemu-options.hx8
1 files changed, 8 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index 64af16d64c..6f273ee7f0 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2790,6 +2790,14 @@ STEXI
@findex -qmp
Like -monitor but opens in 'control' mode.
ETEXI
+DEF("qmp-pretty", HAS_ARG, QEMU_OPTION_qmp_pretty, \
+ "-qmp-pretty dev like -qmp but uses pretty JSON formatting\n",
+ QEMU_ARCH_ALL)
+STEXI
+@item -qmp-pretty @var{dev}
+@findex -qmp-pretty
+Like -qmp but uses pretty JSON formatting.
+ETEXI
DEF("mon", HAS_ARG, QEMU_OPTION_mon, \
"-mon [chardev=]name[,mode=readline|control][,default]\n", QEMU_ARCH_ALL)