summaryrefslogtreecommitdiffstats
path: root/docs/interop/live-block-operations.rst
diff options
context:
space:
mode:
authorDaniel P. Berrangé2021-02-16 20:10:24 +0100
committerPaolo Bonzini2021-02-25 14:14:33 +0100
commitc23874132b79f69328b53273437970116c7a3d0d (patch)
tree436f7e215dfe000a3ecbd802d758713d4bbdf01f /docs/interop/live-block-operations.rst
parentqemu-options: update to show preferred boolean syntax for -vnc (diff)
downloadqemu-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/live-block-operations.rst')
-rw-r--r--docs/interop/live-block-operations.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/interop/live-block-operations.rst b/docs/interop/live-block-operations.rst
index e13f5a21f8..1073b930dc 100644
--- a/docs/interop/live-block-operations.rst
+++ b/docs/interop/live-block-operations.rst
@@ -133,7 +133,7 @@ socket::
-M q35 -nodefaults -m 512 \
-blockdev node-name=node-A,driver=qcow2,file.driver=file,file.node-name=file,file.filename=./a.qcow2 \
-device virtio-blk,drive=node-A,id=virtio0 \
- -monitor stdio -qmp unix:/tmp/qmp-sock,server,nowait
+ -monitor stdio -qmp unix:/tmp/qmp-sock,server=on,wait=off
The ``-blockdev`` command-line option, used above, is available from
QEMU 2.9 onwards. In the above invocation, notice the ``node-name``
@@ -698,7 +698,7 @@ it could be located elsewhere)::
-M q35 -nodefaults -m 512 \
-blockdev node-name=node-TargetDisk,driver=qcow2,file.driver=file,file.node-name=file,file.filename=./target-disk.qcow2 \
-device virtio-blk,drive=node-TargetDisk,id=virtio0 \
- -S -monitor stdio -qmp unix:./qmp-sock2,server,nowait \
+ -S -monitor stdio -qmp unix:./qmp-sock2,server=on,wait=off \
-incoming tcp:localhost:6666
Given the disk image chain on source QEMU::