mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
82a17d1d67
commit
c23874132b
12 changed files with 29 additions and 27 deletions
|
@ -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::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue