summaryrefslogtreecommitdiff
path: root/docs/devel/writing-qmp-commands.txt
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2021-02-16 19:10:24 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2021-02-25 14:14:33 +0100
commitc23874132b79f69328b53273437970116c7a3d0d (patch)
tree436f7e215dfe000a3ecbd802d758713d4bbdf01f /docs/devel/writing-qmp-commands.txt
parent82a17d1d67f282665105e86e9ffadf1da570d000 (diff)
downloadqemu-c23874132b79f69328b53273437970116c7a3d0d.zip
docs: update to show preferred boolean syntax for -chardev
The preferred syntax is to use "foo=on|off", rather than a bare "foo" or "nofoo". Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20210216191027.595031-8-berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/devel/writing-qmp-commands.txt')
-rw-r--r--docs/devel/writing-qmp-commands.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/devel/writing-qmp-commands.txt b/docs/devel/writing-qmp-commands.txt
index 258e63bff5..b1e31d56c0 100644
--- a/docs/devel/writing-qmp-commands.txt
+++ b/docs/devel/writing-qmp-commands.txt
@@ -39,7 +39,7 @@ shown here.
First, QEMU should be started like this:
# qemu-system-TARGET [...] \
- -chardev socket,id=qmp,port=4444,host=localhost,server \
+ -chardev socket,id=qmp,port=4444,host=localhost,server=on \
-mon chardev=qmp,mode=control,pretty=on
Then, in a different terminal: