summaryrefslogtreecommitdiffstats
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorDaniel P. Berrangé2021-02-19 18:56:13 +0100
committerDaniel P. Berrangé2021-03-18 10:22:55 +0100
commit283d845c9164f57f5dba020a4783bb290493802f (patch)
tree1084e0cac2bfd04266ebf4d3a413cb32f20a3a8c /qemu-options.hx
parentui, monitor: remove deprecated VNC ACL option and HMP commands (diff)
downloadqemu-283d845c9164f57f5dba020a4783bb290493802f.tar.gz
qemu-283d845c9164f57f5dba020a4783bb290493802f.tar.xz
qemu-283d845c9164f57f5dba020a4783bb290493802f.zip
monitor: raise error when 'pretty' option is used with HMP
This is only semantically useful for QMP. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r--qemu-options.hx5
1 files changed, 3 insertions, 2 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index 9128dec510..671b310ab8 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -3740,8 +3740,9 @@ DEF("mon", HAS_ARG, QEMU_OPTION_mon, \
"-mon [chardev=]name[,mode=readline|control][,pretty[=on|off]]\n", QEMU_ARCH_ALL)
SRST
``-mon [chardev=]name[,mode=readline|control][,pretty[=on|off]]``
- Setup monitor on chardev name. ``pretty`` turns on JSON pretty
- printing easing human reading and debugging.
+ Setup monitor on chardev name. ``pretty`` is only valid when
+ ``mode=control``, turning on JSON pretty printing to ease
+ human reading and debugging.
ERST
DEF("debugcon", HAS_ARG, QEMU_OPTION_debugcon, \