diff options
author | Daniel P. Berrangé | 2021-02-16 20:10:24 +0100 |
---|---|---|
committer | Paolo Bonzini | 2021-02-25 14:14:33 +0100 |
commit | c23874132b79f69328b53273437970116c7a3d0d (patch) | |
tree | 436f7e215dfe000a3ecbd802d758713d4bbdf01f /docs/interop/qmp-intro.txt | |
parent | qemu-options: update to show preferred boolean syntax for -vnc (diff) | |
download | qemu-c23874132b79f69328b53273437970116c7a3d0d.tar.gz qemu-c23874132b79f69328b53273437970116c7a3d0d.tar.xz qemu-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/interop/qmp-intro.txt')
-rw-r--r-- | docs/interop/qmp-intro.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/interop/qmp-intro.txt b/docs/interop/qmp-intro.txt index 9d54a718b8..1c745a7af0 100644 --- a/docs/interop/qmp-intro.txt +++ b/docs/interop/qmp-intro.txt @@ -26,7 +26,7 @@ Usage You can use the -qmp option to enable QMP. For example, the following makes QMP available on localhost port 4444: -$ qemu [...] -qmp tcp:localhost:4444,server,nowait +$ qemu [...] -qmp tcp:localhost:4444,server=on,wait=off However, for more flexibility and to make use of more options, the -mon command-line option should be used. For instance, the following example @@ -34,7 +34,7 @@ creates one HMP instance (human monitor) on stdio and one QMP instance on localhost port 4444: $ qemu [...] -chardev stdio,id=mon0 -mon chardev=mon0,mode=readline \ - -chardev socket,id=mon1,host=localhost,port=4444,server,nowait \ + -chardev socket,id=mon1,host=localhost,port=4444,server=on,wait=off \ -mon chardev=mon1,mode=control,pretty=on Please, refer to QEMU's manpage for more information. |