|
|
26ba25 |
From 9d7996484c665193e02927bb76ba93c84efb273f Mon Sep 17 00:00:00 2001
|
|
|
26ba25 |
From: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
26ba25 |
Date: Fri, 14 Nov 2014 08:51:50 +0100
|
|
|
26ba25 |
Subject: Use qemu-kvm in documentation instead of qemu-system-<arch>
|
|
|
26ba25 |
|
|
|
26ba25 |
Patchwork-id: 62380
|
|
|
26ba25 |
O-Subject: [RHEV-7.1 qemu-kvm-rhev PATCHv4] Use qemu-kvm in documentation instead of qemu-system-i386
|
|
|
26ba25 |
Bugzilla: 1140620
|
|
|
26ba25 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
26ba25 |
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
|
|
|
26ba25 |
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
26ba25 |
|
|
|
26ba25 |
From: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
26ba25 |
|
|
|
26ba25 |
We change the name and location of qemu-kvm binaries. Update documentation
|
|
|
26ba25 |
to reflect this change. Only architectures available in RHEL are updated.
|
|
|
26ba25 |
|
|
|
26ba25 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
26ba25 |
|
|
|
26ba25 |
Rebase Notes (2.12.0):
|
|
|
26ba25 |
- Additional fixes included
|
|
|
26ba25 |
|
|
|
26ba25 |
Rebase Notes (2.11.0):
|
|
|
26ba25 |
- Fixing docs/qemu-block-drivers.texi
|
|
|
26ba25 |
|
|
|
26ba25 |
Rebase Notes (2.10.0):
|
|
|
26ba25 |
- Changed patch name and updated commit message.
|
|
|
26ba25 |
|
|
|
26ba25 |
Rebase Notes (2.9.0):
|
|
|
26ba25 |
- fixed chunks missed on 2.8 rebase
|
|
|
26ba25 |
|
|
|
26ba25 |
(cherry picked from commit 1c2dac56d5e710faebe25b7aa9cac594ec0f9d4b)
|
|
|
26ba25 |
(cherry picked from commit dfa2037d390047a7d7c7b13f779443bfc6c3709d)
|
|
|
26ba25 |
|
|
|
26ba25 |
Conflicts:
|
|
|
26ba25 |
qemu-options.hx
|
|
|
26ba25 |
|
|
|
26ba25 |
(cherry picked from commit c7985367ba8258c99526549ab94ef066ae52da14)
|
|
|
26ba25 |
|
|
|
26ba25 |
Conflicts:
|
|
|
26ba25 |
qemu-options.hx
|
|
|
26ba25 |
|
|
|
26ba25 |
(cherry picked from commit e7dc2155506c1ead844f1faef85e5f71bc2adf9e)
|
|
|
26ba25 |
---
|
|
|
26ba25 |
docs/can.txt | 10 +--
|
|
|
26ba25 |
docs/pr-manager.rst | 4 +-
|
|
|
26ba25 |
docs/qemu-block-drivers.texi | 70 ++++++++++-----------
|
|
|
26ba25 |
docs/replay.txt | 4 +-
|
|
|
26ba25 |
docs/specs/tpm.txt | 4 +-
|
|
|
26ba25 |
qemu-doc.texi | 40 ++++++------
|
|
|
26ba25 |
qemu-options.hx | 144 ++++++++++++++++++++++---------------------
|
|
|
26ba25 |
7 files changed, 140 insertions(+), 136 deletions(-)
|
|
|
26ba25 |
|
|
|
26ba25 |
diff --git a/docs/can.txt b/docs/can.txt
|
|
|
26ba25 |
index a357105..0c0fc11 100644
|
|
|
26ba25 |
--- a/docs/can.txt
|
|
|
26ba25 |
+++ b/docs/can.txt
|
|
|
26ba25 |
@@ -50,9 +50,9 @@ CAN boards can be selected
|
|
|
26ba25 |
The ''kvaser_pci'' board/device model is compatible with and has been tested with
|
|
|
26ba25 |
''kvaser_pci'' driver included in mainline Linux kernel.
|
|
|
26ba25 |
The tested setup was Linux 4.9 kernel on the host and guest side.
|
|
|
26ba25 |
-Example for qemu-system-x86_64:
|
|
|
26ba25 |
+Example for qemu-kvm (intel architecture):
|
|
|
26ba25 |
|
|
|
26ba25 |
- qemu-system-x86_64 -enable-kvm -kernel /boot/vmlinuz-4.9.0-4-amd64 \
|
|
|
26ba25 |
+ qemu-kvm -enable-kvm -kernel /boot/vmlinuz-4.9.0-4-amd64 \
|
|
|
26ba25 |
-initrd ramdisk.cpio \
|
|
|
26ba25 |
-virtfs local,path=shareddir,security_model=none,mount_tag=shareddir \
|
|
|
26ba25 |
-object can-bus,id=canbus0 \
|
|
|
26ba25 |
@@ -60,9 +60,9 @@ Example for qemu-system-x86_64:
|
|
|
26ba25 |
-device kvaser_pci,canbus=canbus0 \
|
|
|
26ba25 |
-nographic -append "console=ttyS0"
|
|
|
26ba25 |
|
|
|
26ba25 |
-Example for qemu-system-arm:
|
|
|
26ba25 |
+Example for qemu-kvm (arm architecture):
|
|
|
26ba25 |
|
|
|
26ba25 |
- qemu-system-arm -cpu arm1176 -m 256 -M versatilepb \
|
|
|
26ba25 |
+ qemu-kvm -cpu arm1176 -m 256 -M versatilepb \
|
|
|
26ba25 |
-kernel kernel-qemu-arm1176-versatilepb \
|
|
|
26ba25 |
-hda rpi-wheezy-overlay \
|
|
|
26ba25 |
-append "console=ttyAMA0 root=/dev/sda2 ro init=/sbin/init-overlay" \
|
|
|
26ba25 |
@@ -104,4 +104,4 @@ Links to other resources
|
|
|
26ba25 |
Slides
|
|
|
26ba25 |
http://rtime.felk.cvut.cz/publications/public/rtlws2015-qemu-can-slides.pdf
|
|
|
26ba25 |
(5) Linux SocketCAN utilities
|
|
|
26ba25 |
- https://github.com/linux-can/can-utils/
|
|
|
26ba25 |
\ No newline at end of file
|
|
|
26ba25 |
+ https://github.com/linux-can/can-utils/
|
|
|
26ba25 |
diff --git a/docs/pr-manager.rst b/docs/pr-manager.rst
|
|
|
26ba25 |
index 9b1de19..45cb8be 100644
|
|
|
26ba25 |
--- a/docs/pr-manager.rst
|
|
|
26ba25 |
+++ b/docs/pr-manager.rst
|
|
|
26ba25 |
@@ -36,7 +36,7 @@ accepts the path to the helper program's Unix socket. For example,
|
|
|
26ba25 |
the following command line defines a ``pr-manager-helper`` object and
|
|
|
26ba25 |
attaches it to a SCSI passthrough device::
|
|
|
26ba25 |
|
|
|
26ba25 |
- $ qemu-system-x86_64
|
|
|
26ba25 |
+ $ qemu-kvm
|
|
|
26ba25 |
-device virtio-scsi \
|
|
|
26ba25 |
-object pr-manager-helper,id=helper0,path=/var/run/qemu-pr-helper.sock
|
|
|
26ba25 |
-drive if=none,id=hd,driver=raw,file.filename=/dev/sdb,file.pr-manager=helper0
|
|
|
26ba25 |
@@ -44,7 +44,7 @@ attaches it to a SCSI passthrough device::
|
|
|
26ba25 |
|
|
|
26ba25 |
Alternatively, using ``-blockdev``::
|
|
|
26ba25 |
|
|
|
26ba25 |
- $ qemu-system-x86_64
|
|
|
26ba25 |
+ $ qemu-kvm
|
|
|
26ba25 |
-device virtio-scsi \
|
|
|
26ba25 |
-object pr-manager-helper,id=helper0,path=/var/run/qemu-pr-helper.sock
|
|
|
26ba25 |
-blockdev node-name=hd,driver=raw,file.driver=host_device,file.filename=/dev/sdb,file.pr-manager=helper0
|
|
|
26ba25 |
diff --git a/docs/qemu-block-drivers.texi b/docs/qemu-block-drivers.texi
|
|
|
26ba25 |
index f179369..e0d752a 100644
|
|
|
26ba25 |
--- a/docs/qemu-block-drivers.texi
|
|
|
26ba25 |
+++ b/docs/qemu-block-drivers.texi
|
|
|
26ba25 |
@@ -405,7 +405,7 @@ QEMU can automatically create a virtual FAT disk image from a
|
|
|
26ba25 |
directory tree. In order to use it, just type:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 linux.img -hdb fat:/my_directory
|
|
|
26ba25 |
+qemu-kvm linux.img -hdb fat:/my_directory
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Then you access access to all the files in the @file{/my_directory}
|
|
|
26ba25 |
@@ -415,14 +415,14 @@ them via SAMBA or NFS. The default access is @emph{read-only}.
|
|
|
26ba25 |
Floppies can be emulated with the @code{:floppy:} option:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 linux.img -fda fat:floppy:/my_directory
|
|
|
26ba25 |
+qemu-kvm linux.img -fda fat:floppy:/my_directory
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
A read/write support is available for testing (beta stage) with the
|
|
|
26ba25 |
@code{:rw:} option:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 linux.img -fda fat:floppy:rw:/my_directory
|
|
|
26ba25 |
+qemu-kvm linux.img -fda fat:floppy:rw:/my_directory
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
What you should @emph{never} do:
|
|
|
26ba25 |
@@ -440,14 +440,14 @@ QEMU can access directly to block device exported using the Network Block Device
|
|
|
26ba25 |
protocol.
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 linux.img -hdb nbd://my_nbd_server.mydomain.org:1024/
|
|
|
26ba25 |
+qemu-kvm linux.img -hdb nbd://my_nbd_server.mydomain.org:1024/
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
If the NBD server is located on the same host, you can use an unix socket instead
|
|
|
26ba25 |
of an inet socket:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 linux.img -hdb nbd+unix://?socket=/tmp/my_socket
|
|
|
26ba25 |
+qemu-kvm linux.img -hdb nbd+unix://?socket=/tmp/my_socket
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
In this case, the block device must be exported using qemu-nbd:
|
|
|
26ba25 |
@@ -464,23 +464,23 @@ qemu-nbd --socket=/tmp/my_socket --share=2 my_disk.qcow2
|
|
|
26ba25 |
@noindent
|
|
|
26ba25 |
and then you can use it with two guests:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 linux1.img -hdb nbd+unix://?socket=/tmp/my_socket
|
|
|
26ba25 |
-qemu-system-i386 linux2.img -hdb nbd+unix://?socket=/tmp/my_socket
|
|
|
26ba25 |
+qemu-kvm linux1.img -hdb nbd+unix://?socket=/tmp/my_socket
|
|
|
26ba25 |
+qemu-kvm linux2.img -hdb nbd+unix://?socket=/tmp/my_socket
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
If the nbd-server uses named exports (supported since NBD 2.9.18, or with QEMU's
|
|
|
26ba25 |
own embedded NBD server), you must specify an export name in the URI:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -cdrom nbd://localhost/debian-500-ppc-netinst
|
|
|
26ba25 |
-qemu-system-i386 -cdrom nbd://localhost/openSUSE-11.1-ppc-netinst
|
|
|
26ba25 |
+qemu-kvm -cdrom nbd://localhost/debian-500-ppc-netinst
|
|
|
26ba25 |
+qemu-kvm -cdrom nbd://localhost/openSUSE-11.1-ppc-netinst
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
The URI syntax for NBD is supported since QEMU 1.3. An alternative syntax is
|
|
|
26ba25 |
also available. Here are some example of the older syntax:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 linux.img -hdb nbd:my_nbd_server.mydomain.org:1024
|
|
|
26ba25 |
-qemu-system-i386 linux2.img -hdb nbd:unix:/tmp/my_socket
|
|
|
26ba25 |
-qemu-system-i386 -cdrom nbd:localhost:10809:exportname=debian-500-ppc-netinst
|
|
|
26ba25 |
+qemu-kvm linux.img -hdb nbd:my_nbd_server.mydomain.org:1024
|
|
|
26ba25 |
+qemu-kvm linux2.img -hdb nbd:unix:/tmp/my_socket
|
|
|
26ba25 |
+qemu-kvm -cdrom nbd:localhost:10809:exportname=debian-500-ppc-netinst
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@node disk_images_sheepdog
|
|
|
26ba25 |
@@ -505,7 +505,7 @@ qemu-img convert @var{filename} sheepdog:///@var{image}
|
|
|
26ba25 |
|
|
|
26ba25 |
You can boot from the Sheepdog disk image with the command:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 sheepdog:///@var{image}
|
|
|
26ba25 |
+qemu-kvm sheepdog:///@var{image}
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
You can also create a snapshot of the Sheepdog image like qcow2.
|
|
|
26ba25 |
@@ -517,7 +517,7 @@ where @var{tag} is a tag name of the newly created snapshot.
|
|
|
26ba25 |
To boot from the Sheepdog snapshot, specify the tag name of the
|
|
|
26ba25 |
snapshot.
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 sheepdog:///@var{image}#@var{tag}
|
|
|
26ba25 |
+qemu-kvm sheepdog:///@var{image}#@var{tag}
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
You can create a cloned image from the existing snapshot.
|
|
|
26ba25 |
@@ -530,14 +530,14 @@ is its tag name.
|
|
|
26ba25 |
You can use an unix socket instead of an inet socket:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 sheepdog+unix:///@var{image}?socket=@var{path}
|
|
|
26ba25 |
+qemu-kvm sheepdog+unix:///@var{image}?socket=@var{path}
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
If the Sheepdog daemon doesn't run on the local host, you need to
|
|
|
26ba25 |
specify one of the Sheepdog servers to connect to.
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
qemu-img create sheepdog://@var{hostname}:@var{port}/@var{image} @var{size}
|
|
|
26ba25 |
-qemu-system-i386 sheepdog://@var{hostname}:@var{port}/@var{image}
|
|
|
26ba25 |
+qemu-kvm sheepdog://@var{hostname}:@var{port}/@var{image}
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@node disk_images_iscsi
|
|
|
26ba25 |
@@ -627,7 +627,7 @@ cat >iscsi.conf <
|
|
|
26ba25 |
header-digest = "CRC32C"
|
|
|
26ba25 |
EOF
|
|
|
26ba25 |
|
|
|
26ba25 |
-qemu-system-i386 -drive file=iscsi://127.0.0.1/iqn.qemu.test/1 \
|
|
|
26ba25 |
+qemu-kvm -drive file=iscsi://127.0.0.1/iqn.qemu.test/1 \
|
|
|
26ba25 |
-readconfig iscsi.conf
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -646,7 +646,7 @@ tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 2 \
|
|
|
26ba25 |
-b /IMAGES/cd.iso --device-type=cd
|
|
|
26ba25 |
tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL
|
|
|
26ba25 |
|
|
|
26ba25 |
-qemu-system-i386 -iscsi initiator-name=iqn.qemu.test:my-initiator \
|
|
|
26ba25 |
+qemu-kvm -iscsi initiator-name=iqn.qemu.test:my-initiator \
|
|
|
26ba25 |
-boot d -drive file=iscsi://127.0.0.1/iqn.qemu.test/1 \
|
|
|
26ba25 |
-cdrom iscsi://127.0.0.1/iqn.qemu.test/2
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
@@ -659,11 +659,11 @@ GlusterFS is a user space distributed file system.
|
|
|
26ba25 |
You can boot from the GlusterFS disk image with the command:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
URI:
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file=gluster[+@var{type}]://[@var{host}[:@var{port}]]/@var{volume}/@var{path}
|
|
|
26ba25 |
+qemu-kvm -drive file=gluster[+@var{type}]://[@var{host}[:@var{port}]]/@var{volume}/@var{path}
|
|
|
26ba25 |
[?socket=...][,file.debug=9][,file.logfile=...]
|
|
|
26ba25 |
|
|
|
26ba25 |
JSON:
|
|
|
26ba25 |
-qemu-system-x86_64 'json:@{"driver":"qcow2",
|
|
|
26ba25 |
+qemu-kvm 'json:@{"driver":"qcow2",
|
|
|
26ba25 |
"file":@{"driver":"gluster",
|
|
|
26ba25 |
"volume":"testvol","path":"a.img","debug":9,"logfile":"...",
|
|
|
26ba25 |
"server":[@{"type":"tcp","host":"...","port":"..."@},
|
|
|
26ba25 |
@@ -711,22 +711,22 @@ qemu-img create gluster://@var{host}/@var{volume}/@var{path} @var{size}
|
|
|
26ba25 |
|
|
|
26ba25 |
Examples
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file=gluster://1.2.3.4/testvol/a.img
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file=gluster+tcp://1.2.3.4/testvol/a.img
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file=gluster+tcp://1.2.3.4:24007/testvol/dir/a.img
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file=gluster+tcp://[1:2:3:4:5:6:7:8]/testvol/dir/a.img
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file=gluster+tcp://[1:2:3:4:5:6:7:8]:24007/testvol/dir/a.img
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file=gluster+tcp://server.domain.com:24007/testvol/dir/a.img
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file=gluster+unix:///testvol/dir/a.img?socket=/tmp/glusterd.socket
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file=gluster+rdma://1.2.3.4:24007/testvol/a.img
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file=gluster://1.2.3.4/testvol/a.img,file.debug=9,file.logfile=/var/log/qemu-gluster.log
|
|
|
26ba25 |
-qemu-system-x86_64 'json:@{"driver":"qcow2",
|
|
|
26ba25 |
+qemu-kvm -drive file=gluster://1.2.3.4/testvol/a.img
|
|
|
26ba25 |
+qemu-kvm -drive file=gluster+tcp://1.2.3.4/testvol/a.img
|
|
|
26ba25 |
+qemu-kvm -drive file=gluster+tcp://1.2.3.4:24007/testvol/dir/a.img
|
|
|
26ba25 |
+qemu-kvm -drive file=gluster+tcp://[1:2:3:4:5:6:7:8]/testvol/dir/a.img
|
|
|
26ba25 |
+qemu-kvm -drive file=gluster+tcp://[1:2:3:4:5:6:7:8]:24007/testvol/dir/a.img
|
|
|
26ba25 |
+qemu-kvm -drive file=gluster+tcp://server.domain.com:24007/testvol/dir/a.img
|
|
|
26ba25 |
+qemu-kvm -drive file=gluster+unix:///testvol/dir/a.img?socket=/tmp/glusterd.socket
|
|
|
26ba25 |
+qemu-kvm -drive file=gluster+rdma://1.2.3.4:24007/testvol/a.img
|
|
|
26ba25 |
+qemu-kvm -drive file=gluster://1.2.3.4/testvol/a.img,file.debug=9,file.logfile=/var/log/qemu-gluster.log
|
|
|
26ba25 |
+qemu-kvm 'json:@{"driver":"qcow2",
|
|
|
26ba25 |
"file":@{"driver":"gluster",
|
|
|
26ba25 |
"volume":"testvol","path":"a.img",
|
|
|
26ba25 |
"debug":9,"logfile":"/var/log/qemu-gluster.log",
|
|
|
26ba25 |
"server":[@{"type":"tcp","host":"1.2.3.4","port":24007@},
|
|
|
26ba25 |
@{"type":"unix","socket":"/var/run/glusterd.socket"@}]@}@}'
|
|
|
26ba25 |
-qemu-system-x86_64 -drive driver=qcow2,file.driver=gluster,file.volume=testvol,file.path=/path/a.img,
|
|
|
26ba25 |
+qemu-kvm -drive driver=qcow2,file.driver=gluster,file.volume=testvol,file.path=/path/a.img,
|
|
|
26ba25 |
file.debug=9,file.logfile=/var/log/qemu-gluster.log,
|
|
|
26ba25 |
file.server.0.type=tcp,file.server.0.host=1.2.3.4,file.server.0.port=24007,
|
|
|
26ba25 |
file.server.1.type=unix,file.server.1.socket=/var/run/glusterd.socket
|
|
|
26ba25 |
@@ -739,13 +739,13 @@ You can access disk images located on a remote ssh server
|
|
|
26ba25 |
by using the ssh protocol:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file=ssh://[@var{user}@@]@var{server}[:@var{port}]/@var{path}[?host_key_check=@var{host_key_check}]
|
|
|
26ba25 |
+qemu-kvm -drive file=ssh://[@var{user}@@]@var{server}[:@var{port}]/@var{path}[?host_key_check=@var{host_key_check}]
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Alternative syntax using properties:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file.driver=ssh[,file.user=@var{user}],file.host=@var{server}[,file.port=@var{port}],file.path=@var{path}[,file.host_key_check=@var{host_key_check}]
|
|
|
26ba25 |
+qemu-kvm -drive file.driver=ssh[,file.user=@var{user}],file.host=@var{server}[,file.port=@var{port}],file.path=@var{path}[,file.host_key_check=@var{host_key_check}]
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@var{ssh} is the protocol.
|
|
|
26ba25 |
@@ -808,13 +808,13 @@ driver. For example:
|
|
|
26ba25 |
# echo 0000:06:0d.0 > /sys/bus/pci/devices/0000:06:0d.0/driver/unbind
|
|
|
26ba25 |
# echo 1102 0002 > /sys/bus/pci/drivers/vfio-pci/new_id
|
|
|
26ba25 |
|
|
|
26ba25 |
-# qemu-system-x86_64 -drive file=nvme://@var{host}:@var{bus}:@var{slot}.@var{func}/@var{namespace}
|
|
|
26ba25 |
+# qemu-kvm -drive file=nvme://@var{host}:@var{bus}:@var{slot}.@var{func}/@var{namespace}
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Alternative syntax using properties:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-x86_64 -drive file.driver=nvme,file.device=@var{host}:@var{bus}:@var{slot}.@var{func},file.namespace=@var{namespace}
|
|
|
26ba25 |
+qemu-kvm -drive file.driver=nvme,file.device=@var{host}:@var{bus}:@var{slot}.@var{func},file.namespace=@var{namespace}
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@var{host}:@var{bus}:@var{slot}.@var{func} is the NVMe controller's PCI device
|
|
|
26ba25 |
diff --git a/docs/replay.txt b/docs/replay.txt
|
|
|
26ba25 |
index 2e21e9c..f1923e8 100644
|
|
|
26ba25 |
--- a/docs/replay.txt
|
|
|
26ba25 |
+++ b/docs/replay.txt
|
|
|
26ba25 |
@@ -25,7 +25,7 @@ Deterministic replay has the following features:
|
|
|
26ba25 |
|
|
|
26ba25 |
Usage of the record/replay:
|
|
|
26ba25 |
* First, record the execution with the following command line:
|
|
|
26ba25 |
- qemu-system-i386 \
|
|
|
26ba25 |
+ qemu-kvm \
|
|
|
26ba25 |
-icount shift=7,rr=record,rrfile=replay.bin \
|
|
|
26ba25 |
-drive file=disk.qcow2,if=none,id=img-direct \
|
|
|
26ba25 |
-drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \
|
|
|
26ba25 |
@@ -33,7 +33,7 @@ Usage of the record/replay:
|
|
|
26ba25 |
-netdev user,id=net1 -device rtl8139,netdev=net1 \
|
|
|
26ba25 |
-object filter-replay,id=replay,netdev=net1
|
|
|
26ba25 |
* After recording, you can replay it by using another command line:
|
|
|
26ba25 |
- qemu-system-i386 \
|
|
|
26ba25 |
+ qemu-kvm \
|
|
|
26ba25 |
-icount shift=7,rr=replay,rrfile=replay.bin \
|
|
|
26ba25 |
-drive file=disk.qcow2,if=none,id=img-direct \
|
|
|
26ba25 |
-drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \
|
|
|
26ba25 |
diff --git a/docs/specs/tpm.txt b/docs/specs/tpm.txt
|
|
|
26ba25 |
index d1d7157..897c300 100644
|
|
|
26ba25 |
--- a/docs/specs/tpm.txt
|
|
|
26ba25 |
+++ b/docs/specs/tpm.txt
|
|
|
26ba25 |
@@ -98,7 +98,7 @@ QEMU files related to the TPM passthrough device:
|
|
|
26ba25 |
Command line to start QEMU with the TPM passthrough device using the host's
|
|
|
26ba25 |
hardware TPM /dev/tpm0:
|
|
|
26ba25 |
|
|
|
26ba25 |
-qemu-system-x86_64 -display sdl -enable-kvm \
|
|
|
26ba25 |
+qemu-kvm -display vnc -enable-kvm \
|
|
|
26ba25 |
-m 1024 -boot d -bios bios-256k.bin -boot menu=on \
|
|
|
26ba25 |
-tpmdev passthrough,id=tpm0,path=/dev/tpm0 \
|
|
|
26ba25 |
-device tpm-tis,tpmdev=tpm0 test.img
|
|
|
26ba25 |
@@ -164,7 +164,7 @@ swtpm socket --tpmstate dir=/tmp/mytpm1 \
|
|
|
26ba25 |
Command line to start QEMU with the TPM emulator device communicating with
|
|
|
26ba25 |
the swtpm:
|
|
|
26ba25 |
|
|
|
26ba25 |
-qemu-system-x86_64 -display sdl -enable-kvm \
|
|
|
26ba25 |
+qemu-kvm -display sdl -enable-kvm \
|
|
|
26ba25 |
-m 1024 -boot d -bios bios-256k.bin -boot menu=on \
|
|
|
26ba25 |
-chardev socket,id=chrtpm,path=/tmp/mytpm1/swtpm-sock \
|
|
|
26ba25 |
-tpmdev emulator,id=tpm0,chardev=chrtpm \
|
|
|
26ba25 |
diff --git a/qemu-doc.texi b/qemu-doc.texi
|
|
|
26ba25 |
index 5813d27..de5097a 100644
|
|
|
26ba25 |
--- a/qemu-doc.texi
|
|
|
26ba25 |
+++ b/qemu-doc.texi
|
|
|
26ba25 |
@@ -203,12 +203,12 @@ Note that, by default, GUS shares IRQ(7) with parallel ports and so
|
|
|
26ba25 |
QEMU must be told to not have parallel ports to have working GUS.
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 dos.img -soundhw gus -parallel none
|
|
|
26ba25 |
+qemu-kvm dos.img -soundhw gus -parallel none
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Alternatively:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 dos.img -device gus,irq=5
|
|
|
26ba25 |
+qemu-kvm dos.img -device gus,irq=5
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Or some other unclaimed IRQ.
|
|
|
26ba25 |
@@ -224,7 +224,7 @@ CS4231A is the chip used in Windows Sound System and GUSMAX products
|
|
|
26ba25 |
Download and uncompress the linux image (@file{linux.img}) and type:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 linux.img
|
|
|
26ba25 |
+qemu-kvm linux.img
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Linux should boot and give you a prompt.
|
|
|
26ba25 |
@@ -234,7 +234,7 @@ Linux should boot and give you a prompt.
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
@c man begin SYNOPSIS
|
|
|
26ba25 |
-@command{qemu-system-i386} [@var{options}] [@var{disk_image}]
|
|
|
26ba25 |
+@command{qemu-kvm} [@var{options}] [@var{disk_image}]
|
|
|
26ba25 |
@c man end
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -813,7 +813,7 @@ On Linux hosts, a shared memory device is available. The basic syntax
|
|
|
26ba25 |
is:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-x86_64 -device ivshmem-plain,memdev=@var{hostmem}
|
|
|
26ba25 |
+qemu-kvm -device ivshmem-plain,memdev=@var{hostmem}
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
where @var{hostmem} names a host memory backend. For a POSIX shared
|
|
|
26ba25 |
@@ -834,7 +834,7 @@ memory server is:
|
|
|
26ba25 |
ivshmem-server -p @var{pidfile} -S @var{path} -m @var{shm-name} -l @var{shm-size} -n @var{vectors}
|
|
|
26ba25 |
|
|
|
26ba25 |
# Then start your qemu instances with matching arguments
|
|
|
26ba25 |
-qemu-system-x86_64 -device ivshmem-doorbell,vectors=@var{vectors},chardev=@var{id}
|
|
|
26ba25 |
+qemu-kvm -device ivshmem-doorbell,vectors=@var{vectors},chardev=@var{id}
|
|
|
26ba25 |
-chardev socket,path=@var{path},id=@var{id}
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -859,7 +859,7 @@ Instead of specifying the <shm size> using POSIX shm, you may specify
|
|
|
26ba25 |
a memory backend that has hugepage support:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-x86_64 -object memory-backend-file,size=1G,mem-path=/dev/hugepages/my-shmem-file,share,id=mb1
|
|
|
26ba25 |
+qemu-kvm -object memory-backend-file,size=1G,mem-path=/dev/hugepages/my-shmem-file,share,id=mb1
|
|
|
26ba25 |
-device ivshmem-plain,memdev=mb1
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -875,7 +875,7 @@ kernel testing.
|
|
|
26ba25 |
|
|
|
26ba25 |
The syntax is:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -kernel arch/i386/boot/bzImage -hda root-2.4.20.img -append "root=/dev/hda"
|
|
|
26ba25 |
+qemu-kvm -kernel arch/i386/boot/bzImage -hda root-2.4.20.img -append "root=/dev/hda"
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Use @option{-kernel} to provide the Linux kernel image and
|
|
|
26ba25 |
@@ -890,7 +890,7 @@ If you do not need graphical output, you can disable it and redirect
|
|
|
26ba25 |
the virtual serial port and the QEMU monitor to the console with the
|
|
|
26ba25 |
@option{-nographic} option. The typical command line is:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -kernel arch/i386/boot/bzImage -hda root-2.4.20.img \
|
|
|
26ba25 |
+qemu-kvm -kernel arch/i386/boot/bzImage -hda root-2.4.20.img \
|
|
|
26ba25 |
-append "root=/dev/hda console=ttyS0" -nographic
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -956,7 +956,7 @@ Network adapter that supports CDC ethernet and RNDIS protocols. @var{id}
|
|
|
26ba25 |
specifies a netdev defined with @code{-netdev @dots{},id=@var{id}}.
|
|
|
26ba25 |
For instance, user-mode networking can be used with
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 [...] -netdev user,id=net0 -device usb-net,netdev=net0
|
|
|
26ba25 |
+qemu-kvm [...] -netdev user,id=net0 -device usb-net,netdev=net0
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
@item usb-ccid
|
|
|
26ba25 |
Smartcard reader device
|
|
|
26ba25 |
@@ -975,7 +975,7 @@ no type is given, the HCI logic corresponds to @code{-bt hci,vlan=0}.
|
|
|
26ba25 |
This USB device implements the USB Transport Layer of HCI. Example
|
|
|
26ba25 |
usage:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-@command{qemu-system-i386} [...@var{OPTIONS}...] @option{-usbdevice} bt:hci,vlan=3 @option{-bt} device:keyboard,vlan=3
|
|
|
26ba25 |
+@command{qemu-kvm} [...@var{OPTIONS}...] @option{-usbdevice} bt:hci,vlan=3 @option{-bt} device:keyboard,vlan=3
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
@end table
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -1052,7 +1052,7 @@ For this setup it is recommended to restrict it to listen on a UNIX domain
|
|
|
26ba25 |
socket only. For example
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 [...OPTIONS...] -vnc unix:/home/joebloggs/.qemu-myvm-vnc
|
|
|
26ba25 |
+qemu-kvm [...OPTIONS...] -vnc unix:/home/joebloggs/.qemu-myvm-vnc
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
This ensures that only users on local box with read/write access to that
|
|
|
26ba25 |
@@ -1075,7 +1075,7 @@ is running the password is set with the monitor. Until the monitor is used to
|
|
|
26ba25 |
set the password all clients will be rejected.
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 [...OPTIONS...] -vnc :1,password -monitor stdio
|
|
|
26ba25 |
+qemu-kvm [...OPTIONS...] -vnc :1,password -monitor stdio
|
|
|
26ba25 |
(qemu) change vnc password
|
|
|
26ba25 |
Password: ********
|
|
|
26ba25 |
(qemu)
|
|
|
26ba25 |
@@ -1092,7 +1092,7 @@ support provides a secure session, but no authentication. This allows any
|
|
|
26ba25 |
client to connect, and provides an encrypted session.
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 [...OPTIONS...] -vnc :1,tls,x509=/etc/pki/qemu -monitor stdio
|
|
|
26ba25 |
+qemu-kvm [...OPTIONS...] -vnc :1,tls,x509=/etc/pki/qemu -monitor stdio
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
In the above example @code{/etc/pki/qemu} should contain at least three files,
|
|
|
26ba25 |
@@ -1110,7 +1110,7 @@ then validate against the CA certificate. This is a good choice if deploying
|
|
|
26ba25 |
in an environment with a private internal certificate authority.
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 [...OPTIONS...] -vnc :1,tls,x509verify=/etc/pki/qemu -monitor stdio
|
|
|
26ba25 |
+qemu-kvm [...OPTIONS...] -vnc :1,tls,x509verify=/etc/pki/qemu -monitor stdio
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -1121,7 +1121,7 @@ Finally, the previous method can be combined with VNC password authentication
|
|
|
26ba25 |
to provide two layers of authentication for clients.
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 [...OPTIONS...] -vnc :1,password,tls,x509verify=/etc/pki/qemu -monitor stdio
|
|
|
26ba25 |
+qemu-kvm [...OPTIONS...] -vnc :1,password,tls,x509verify=/etc/pki/qemu -monitor stdio
|
|
|
26ba25 |
(qemu) change vnc password
|
|
|
26ba25 |
Password: ********
|
|
|
26ba25 |
(qemu)
|
|
|
26ba25 |
@@ -1144,7 +1144,7 @@ used for authentication, but assuming use of one supporting SSF,
|
|
|
26ba25 |
then QEMU can be launched with:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 [...OPTIONS...] -vnc :1,sasl -monitor stdio
|
|
|
26ba25 |
+qemu-kvm [...OPTIONS...] -vnc :1,sasl -monitor stdio
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@node vnc_sec_certificate_sasl
|
|
|
26ba25 |
@@ -1158,7 +1158,7 @@ credentials. This can be enabled, by combining the 'sasl' option
|
|
|
26ba25 |
with the aforementioned TLS + x509 options:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 [...OPTIONS...] -vnc :1,tls,x509,sasl -monitor stdio
|
|
|
26ba25 |
+qemu-kvm [...OPTIONS...] -vnc :1,tls,x509,sasl -monitor stdio
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@node vnc_setup_sasl
|
|
|
26ba25 |
@@ -1514,7 +1514,7 @@ QEMU has a primitive support to work with gdb, so that you can do
|
|
|
26ba25 |
In order to use gdb, launch QEMU with the '-s' option. It will wait for a
|
|
|
26ba25 |
gdb connection:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -s -kernel arch/i386/boot/bzImage -hda root-2.4.20.img \
|
|
|
26ba25 |
+qemu-kvm -s -kernel arch/i386/boot/bzImage -hda root-2.4.20.img \
|
|
|
26ba25 |
-append "root=/dev/hda"
|
|
|
26ba25 |
Connected to host network interface: tun0
|
|
|
26ba25 |
Waiting gdb connection on port 1234
|
|
|
26ba25 |
@@ -1760,7 +1760,7 @@ Set the initial VGA graphic mode. The default is 800x600x32.
|
|
|
26ba25 |
Set OpenBIOS variables in NVRAM, for example:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-ppc -prom-env 'auto-boot?=false' \
|
|
|
26ba25 |
+qemu-kvm -prom-env 'auto-boot?=false' \
|
|
|
26ba25 |
-prom-env 'boot-device=hd:2,\yaboot' \
|
|
|
26ba25 |
-prom-env 'boot-args=conf=hd:2,\yaboot.conf'
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
diff --git a/qemu-options.hx b/qemu-options.hx
|
|
|
26ba25 |
index 2042dba..43f10b1 100644
|
|
|
26ba25 |
--- a/qemu-options.hx
|
|
|
26ba25 |
+++ b/qemu-options.hx
|
|
|
26ba25 |
@@ -263,7 +263,7 @@ This option defines a free-form string that can be used to describe @var{fd}.
|
|
|
26ba25 |
|
|
|
26ba25 |
You can open an image using pre-opened file descriptors from an fd set:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386
|
|
|
26ba25 |
+qemu-kvm
|
|
|
26ba25 |
-add-fd fd=3,set=2,opaque="rdwr:/path/to/file"
|
|
|
26ba25 |
-add-fd fd=4,set=2,opaque="rdonly:/path/to/file"
|
|
|
26ba25 |
-drive file=/dev/fdset/2,index=0,media=disk
|
|
|
26ba25 |
@@ -292,7 +292,7 @@ STEXI
|
|
|
26ba25 |
Set default value of @var{driver}'s property @var{prop} to @var{value}, e.g.:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -global ide-hd.physical_block_size=4096 disk-image.img
|
|
|
26ba25 |
+qemu-kvm -global ide-hd.physical_block_size=4096 disk-image.img
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
In particular, you can use this to set driver properties for devices which are
|
|
|
26ba25 |
@@ -346,11 +346,11 @@ bootindex options. The default is non-strict boot.
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
# try to boot from network first, then from hard disk
|
|
|
26ba25 |
-qemu-system-i386 -boot order=nc
|
|
|
26ba25 |
+qemu-kvm -boot order=nc
|
|
|
26ba25 |
# boot from CD-ROM first, switch back to default order after reboot
|
|
|
26ba25 |
-qemu-system-i386 -boot once=d
|
|
|
26ba25 |
+qemu-kvm -boot once=d
|
|
|
26ba25 |
# boot with a splash picture for 5 seconds.
|
|
|
26ba25 |
-qemu-system-i386 -boot menu=on,splash=/root/boot.bmp,splash-time=5000
|
|
|
26ba25 |
+qemu-kvm -boot menu=on,splash=/root/boot.bmp,splash-time=5000
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Note: The legacy format '-boot @var{drives}' is still supported but its
|
|
|
26ba25 |
@@ -379,7 +379,7 @@ For example, the following command-line sets the guest startup RAM size to
|
|
|
26ba25 |
memory the guest can reach to 4GB:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-x86_64 -m 1G,slots=3,maxmem=4G
|
|
|
26ba25 |
+qemu-kvm -m 1G,slots=3,maxmem=4G
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
If @var{slots} and @var{maxmem} are not specified, memory hotplug won't
|
|
|
26ba25 |
@@ -448,12 +448,12 @@ Enable audio and selected sound hardware. Use 'help' to print all
|
|
|
26ba25 |
available sound hardware.
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -soundhw sb16,adlib disk.img
|
|
|
26ba25 |
-qemu-system-i386 -soundhw es1370 disk.img
|
|
|
26ba25 |
-qemu-system-i386 -soundhw ac97 disk.img
|
|
|
26ba25 |
-qemu-system-i386 -soundhw hda disk.img
|
|
|
26ba25 |
-qemu-system-i386 -soundhw all disk.img
|
|
|
26ba25 |
-qemu-system-i386 -soundhw help
|
|
|
26ba25 |
+qemu-kvm -soundhw sb16,adlib disk.img
|
|
|
26ba25 |
+qemu-kvm -soundhw es1370 disk.img
|
|
|
26ba25 |
+qemu-kvm -soundhw ac97 disk.img
|
|
|
26ba25 |
+qemu-kvm -soundhw hda disk.img
|
|
|
26ba25 |
+qemu-kvm -soundhw all disk.img
|
|
|
26ba25 |
+qemu-kvm -soundhw help
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Note that Linux's i810_audio OSS kernel (for AC97) module might
|
|
|
26ba25 |
@@ -946,21 +946,21 @@ is off.
|
|
|
26ba25 |
|
|
|
26ba25 |
Instead of @option{-cdrom} you can use:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -drive file=file,index=2,media=cdrom
|
|
|
26ba25 |
+qemu-kvm -drive file=file,index=2,media=cdrom
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Instead of @option{-hda}, @option{-hdb}, @option{-hdc}, @option{-hdd}, you can
|
|
|
26ba25 |
use:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -drive file=file,index=0,media=disk
|
|
|
26ba25 |
-qemu-system-i386 -drive file=file,index=1,media=disk
|
|
|
26ba25 |
-qemu-system-i386 -drive file=file,index=2,media=disk
|
|
|
26ba25 |
-qemu-system-i386 -drive file=file,index=3,media=disk
|
|
|
26ba25 |
+qemu-kvm -drive file=file,index=0,media=disk
|
|
|
26ba25 |
+qemu-kvm -drive file=file,index=1,media=disk
|
|
|
26ba25 |
+qemu-kvm -drive file=file,index=2,media=disk
|
|
|
26ba25 |
+qemu-kvm -drive file=file,index=3,media=disk
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
You can open an image using pre-opened file descriptors from an fd set:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386
|
|
|
26ba25 |
+qemu-kvm
|
|
|
26ba25 |
-add-fd fd=3,set=2,opaque="rdwr:/path/to/file"
|
|
|
26ba25 |
-add-fd fd=4,set=2,opaque="rdonly:/path/to/file"
|
|
|
26ba25 |
-drive file=/dev/fdset/2,index=0,media=disk
|
|
|
26ba25 |
@@ -968,28 +968,28 @@ qemu-system-i386
|
|
|
26ba25 |
|
|
|
26ba25 |
You can connect a CDROM to the slave of ide0:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -drive file=file,if=ide,index=1,media=cdrom
|
|
|
26ba25 |
+qemu-kvm -drive file=file,if=ide,index=1,media=cdrom
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
If you don't specify the "file=" argument, you define an empty drive:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -drive if=ide,index=1,media=cdrom
|
|
|
26ba25 |
+qemu-kvm -drive if=ide,index=1,media=cdrom
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Instead of @option{-fda}, @option{-fdb}, you can use:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -drive file=file,index=0,if=floppy
|
|
|
26ba25 |
-qemu-system-i386 -drive file=file,index=1,if=floppy
|
|
|
26ba25 |
+qemu-kvm -drive file=file,index=0,if=floppy
|
|
|
26ba25 |
+qemu-kvm -drive file=file,index=1,if=floppy
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
By default, @var{interface} is "ide" and @var{index} is automatically
|
|
|
26ba25 |
incremented:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -drive file=a -drive file=b"
|
|
|
26ba25 |
+qemu-kvm -drive file=a -drive file=b"
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
is interpreted like:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -hda a -hdb b
|
|
|
26ba25 |
+qemu-kvm -hda a -hdb b
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
ETEXI
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -2056,8 +2056,8 @@ The following two example do exactly the same, to show how @option{-nic} can
|
|
|
26ba25 |
be used to shorten the command line length (note that the e1000 is the default
|
|
|
26ba25 |
on i386, so the @option{model=e1000} parameter could even be omitted here, too):
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -netdev user,id=n1,ipv6=off -device e1000,netdev=n1,mac=52:54:98:76:54:32
|
|
|
26ba25 |
-qemu-system-i386 -nic user,ipv6=off,model=e1000,mac=52:54:98:76:54:32
|
|
|
26ba25 |
+qemu-kvm -netdev user,id=n1,ipv6=off -device e1000,netdev=n1,mac=52:54:98:76:54:32
|
|
|
26ba25 |
+qemu-kvm -nic user,ipv6=off,model=e1000,mac=52:54:98:76:54:32
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@item -nic none
|
|
|
26ba25 |
@@ -2128,7 +2128,7 @@ can not be resolved.
|
|
|
26ba25 |
|
|
|
26ba25 |
Example:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -nic user,dnssearch=mgmt.example.org,dnssearch=example.org
|
|
|
26ba25 |
+qemu-kvm -nic user,dnssearch=mgmt.example.org,dnssearch=example.org
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@item tftp=@var{dir}
|
|
|
26ba25 |
@@ -2144,7 +2144,7 @@ a guest from a local directory.
|
|
|
26ba25 |
|
|
|
26ba25 |
Example (using pxelinux):
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 -hda linux.img -boot n -device e1000,netdev=n1 \
|
|
|
26ba25 |
+qemu-kvm -hda linux.img -boot n -device e1000,netdev=n1 \
|
|
|
26ba25 |
-netdev user,id=n1,tftp=/path/to/tftp/files,bootfile=/pxelinux.0
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -2178,7 +2178,7 @@ screen 0, use the following:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
# on the host
|
|
|
26ba25 |
-qemu-system-i386 -nic user,hostfwd=tcp:127.0.0.1:6001-:6000
|
|
|
26ba25 |
+qemu-kvm -nic user,hostfwd=tcp:127.0.0.1:6001-:6000
|
|
|
26ba25 |
# this host xterm should open in the guest X11 server
|
|
|
26ba25 |
xterm -display :1
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
@@ -2188,7 +2188,7 @@ the guest, use the following:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
# on the host
|
|
|
26ba25 |
-qemu-system-i386 -nic user,hostfwd=tcp::5555-:23
|
|
|
26ba25 |
+qemu-kvm -nic user,hostfwd=tcp::5555-:23
|
|
|
26ba25 |
telnet localhost 5555
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -2207,7 +2207,7 @@ lifetime, like in the following example:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
# open 10.10.1.1:4321 on bootup, connect 10.0.2.100:1234 to it whenever
|
|
|
26ba25 |
# the guest accesses it
|
|
|
26ba25 |
-qemu-system-i386 -nic user,guestfwd=tcp:10.0.2.100:1234-tcp:10.10.1.1:4321
|
|
|
26ba25 |
+qemu-kvm -nic user,guestfwd=tcp:10.0.2.100:1234-tcp:10.10.1.1:4321
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Or you can execute a command on every TCP connection established by the guest,
|
|
|
26ba25 |
@@ -2216,7 +2216,7 @@ so that QEMU behaves similar to an inetd process for that virtual server:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
# call "netcat 10.10.1.1 4321" on every TCP connection to 10.0.2.100:1234
|
|
|
26ba25 |
# and connect the TCP stream to its stdin/stdout
|
|
|
26ba25 |
-qemu-system-i386 -nic 'user,id=n1,guestfwd=tcp:10.0.2.100:1234-cmd:netcat 10.10.1.1 4321'
|
|
|
26ba25 |
+qemu-kvm -nic 'user,id=n1,guestfwd=tcp:10.0.2.100:1234-cmd:netcat 10.10.1.1 4321'
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@end table
|
|
|
26ba25 |
@@ -2248,21 +2248,22 @@ Examples:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
#launch a QEMU instance with the default network script
|
|
|
26ba25 |
-qemu-system-i386 linux.img -nic tap
|
|
|
26ba25 |
+qemu-kvm linux.img -nic tap
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
#launch a QEMU instance with two NICs, each one connected
|
|
|
26ba25 |
#to a TAP device
|
|
|
26ba25 |
-qemu-system-i386 linux.img \
|
|
|
26ba25 |
+qemu-kvm linux.img \
|
|
|
26ba25 |
-netdev tap,id=nd0,ifname=tap0 -device e1000,netdev=nd0 \
|
|
|
26ba25 |
-netdev tap,id=nd1,ifname=tap1 -device rtl8139,netdev=nd1
|
|
|
26ba25 |
+ -net nic,vlan=1 -net tap,vlan=1,ifname=tap1
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
#launch a QEMU instance with the default network helper to
|
|
|
26ba25 |
#connect a TAP device to bridge br0
|
|
|
26ba25 |
-qemu-system-i386 linux.img -device virtio-net-pci,netdev=n1 \
|
|
|
26ba25 |
+qemu-kvm linux.img -device virtio-net-pci,netdev=n1 \
|
|
|
26ba25 |
-netdev tap,id=n1,"helper=/path/to/qemu-bridge-helper"
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -2279,13 +2280,13 @@ Examples:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
#launch a QEMU instance with the default network helper to
|
|
|
26ba25 |
#connect a TAP device to bridge br0
|
|
|
26ba25 |
-qemu-system-i386 linux.img -netdev bridge,id=n1 -device virtio-net,netdev=n1
|
|
|
26ba25 |
+qemu-kvm linux.img -netdev bridge,id=n1 -device virtio-net,netdev=n1
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
#launch a QEMU instance with the default network helper to
|
|
|
26ba25 |
#connect a TAP device to bridge qemubr0
|
|
|
26ba25 |
-qemu-system-i386 linux.img -netdev bridge,br=qemubr0,id=n1 -device virtio-net,netdev=n1
|
|
|
26ba25 |
+qemu-kvm linux.img -netdev bridge,br=qemubr0,id=n1 -device virtio-net,netdev=n1
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@item -netdev socket,id=@var{id}[,fd=@var{h}][,listen=[@var{host}]:@var{port}][,connect=@var{host}:@var{port}]
|
|
|
26ba25 |
@@ -2300,13 +2301,13 @@ specifies an already opened TCP socket.
|
|
|
26ba25 |
Example:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
# launch a first QEMU instance
|
|
|
26ba25 |
-qemu-system-i386 linux.img \
|
|
|
26ba25 |
- -device e1000,netdev=n1,mac=52:54:00:12:34:56 \
|
|
|
26ba25 |
- -netdev socket,id=n1,listen=:1234
|
|
|
26ba25 |
+qemu-kvm linux.img \
|
|
|
26ba25 |
+ -device e1000,netdev=n1,mac=52:54:00:12:34:56 \
|
|
|
26ba25 |
+ -netdev socket,id=n1,listen=:1234
|
|
|
26ba25 |
# connect the network of this instance to the network of the first instance
|
|
|
26ba25 |
-qemu-system-i386 linux.img \
|
|
|
26ba25 |
- -device e1000,netdev=n2,mac=52:54:00:12:34:57 \
|
|
|
26ba25 |
- -netdev socket,id=n2,connect=127.0.0.1:1234
|
|
|
26ba25 |
+qemu-kvm linux.img \
|
|
|
26ba25 |
+ -device e1000,netdev=n2,mac=52:54:00:12:34:57 \
|
|
|
26ba25 |
+ -netdev socket,id=n2,connect=127.0.0.1:1234
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@item -netdev socket,id=@var{id}[,fd=@var{h}][,mcast=@var{maddr}:@var{port}[,localaddr=@var{addr}]]
|
|
|
26ba25 |
@@ -2329,23 +2330,23 @@ Use @option{fd=h} to specify an already opened UDP multicast socket.
|
|
|
26ba25 |
Example:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
# launch one QEMU instance
|
|
|
26ba25 |
-qemu-system-i386 linux.img \
|
|
|
26ba25 |
- -device e1000,netdev=n1,mac=52:54:00:12:34:56 \
|
|
|
26ba25 |
- -netdev socket,id=n1,mcast=230.0.0.1:1234
|
|
|
26ba25 |
+qemu-kvm linux.img \
|
|
|
26ba25 |
+ -device e1000,netdev=n1,mac=52:54:00:12:34:56 \
|
|
|
26ba25 |
+ -netdev socket,id=n1,mcast=230.0.0.1:1234
|
|
|
26ba25 |
# launch another QEMU instance on same "bus"
|
|
|
26ba25 |
-qemu-system-i386 linux.img \
|
|
|
26ba25 |
- -device e1000,netdev=n2,mac=52:54:00:12:34:57 \
|
|
|
26ba25 |
- -netdev socket,id=n2,mcast=230.0.0.1:1234
|
|
|
26ba25 |
+qemu-kvm linux.img \
|
|
|
26ba25 |
+ -device e1000,netdev=n2,mac=52:54:00:12:34:57 \
|
|
|
26ba25 |
+ -netdev socket,id=n2,mcast=230.0.0.1:1234
|
|
|
26ba25 |
# launch yet another QEMU instance on same "bus"
|
|
|
26ba25 |
-qemu-system-i386 linux.img \
|
|
|
26ba25 |
- -device e1000,netdev=n3,macaddr=52:54:00:12:34:58 \
|
|
|
26ba25 |
- -netdev socket,id=n3,mcast=230.0.0.1:1234
|
|
|
26ba25 |
+qemu-kvm linux.img \
|
|
|
26ba25 |
+ -device e1000,netdev=n3,macaddr=52:54:00:12:34:58 \
|
|
|
26ba25 |
+ -netdev socket,id=n3,mcast=230.0.0.1:1234
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
Example (User Mode Linux compat.):
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
# launch QEMU instance (note mcast address selected is UML's default)
|
|
|
26ba25 |
-qemu-system-i386 linux.img \
|
|
|
26ba25 |
+qemu-kvm linux.img \
|
|
|
26ba25 |
-device e1000,netdev=n1,mac=52:54:00:12:34:56 \
|
|
|
26ba25 |
-netdev socket,id=n1,mcast=239.192.168.1:1102
|
|
|
26ba25 |
# launch UML
|
|
|
26ba25 |
@@ -2354,9 +2355,12 @@ qemu-system-i386 linux.img \
|
|
|
26ba25 |
|
|
|
26ba25 |
Example (send packets from host's 1.2.3.4):
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 linux.img \
|
|
|
26ba25 |
- -device e1000,netdev=n1,mac=52:54:00:12:34:56 \
|
|
|
26ba25 |
- -netdev socket,id=n1,mcast=239.192.168.1:1102,localaddr=1.2.3.4
|
|
|
26ba25 |
+qemu-kvm linux.img \
|
|
|
26ba25 |
+ -device e1000,netdev=n1,mac=52:54:00:12:34:56 \
|
|
|
26ba25 |
+ -netdev socket,id=n1,mcast=239.192.168.1:1102,localaddr=1.2.3.4
|
|
|
26ba25 |
+qemu-kvm linux.img \
|
|
|
26ba25 |
+ -net nic,macaddr=52:54:00:12:34:56 \
|
|
|
26ba25 |
+ -net socket,mcast=239.192.168.1:1102,localaddr=1.2.3.4
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@item -netdev l2tpv3,id=@var{id},src=@var{srcaddr},dst=@var{dstaddr}[,srcport=@var{srcport}][,dstport=@var{dstport}],txsession=@var{txsession}[,rxsession=@var{rxsession}][,ipv6][,udp][,cookie64][,counter][,pincounter][,txcookie=@var{txcookie}][,rxcookie=@var{rxcookie}][,offset=@var{offset}]
|
|
|
26ba25 |
@@ -2414,7 +2418,7 @@ brctl addif br-lan vmtunnel0
|
|
|
26ba25 |
# on 4.3.2.1
|
|
|
26ba25 |
# launch QEMU instance - if your network has reorder or is very lossy add ,pincounter
|
|
|
26ba25 |
|
|
|
26ba25 |
-qemu-system-i386 linux.img -device e1000,netdev=n1 \
|
|
|
26ba25 |
+qemu-kvm linux.img -device e1000,netdev=n1 \
|
|
|
26ba25 |
-netdev l2tpv3,id=n1,src=4.2.3.1,dst=1.2.3.4,udp,srcport=16384,dstport=16384,rxsession=0xffffffff,txsession=0xffffffff,counter
|
|
|
26ba25 |
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
@@ -2431,7 +2435,7 @@ Example:
|
|
|
26ba25 |
# launch vde switch
|
|
|
26ba25 |
vde_switch -F -sock /tmp/myswitch
|
|
|
26ba25 |
# launch QEMU instance
|
|
|
26ba25 |
-qemu-system-i386 linux.img -nic vde,sock=/tmp/myswitch
|
|
|
26ba25 |
+qemu-kvm linux.img -nic vde,sock=/tmp/myswitch
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@item -netdev vhost-user,chardev=@var{id}[,vhostforce=on|off][,queues=n]
|
|
|
26ba25 |
@@ -2445,11 +2449,11 @@ be created for multiqueue vhost-user.
|
|
|
26ba25 |
|
|
|
26ba25 |
Example:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu -m 512 -object memory-backend-file,id=mem,size=512M,mem-path=/hugetlbfs,share=on \
|
|
|
26ba25 |
- -numa node,memdev=mem \
|
|
|
26ba25 |
- -chardev socket,id=chr0,path=/path/to/socket \
|
|
|
26ba25 |
- -netdev type=vhost-user,id=net0,chardev=chr0 \
|
|
|
26ba25 |
- -device virtio-net-pci,netdev=net0
|
|
|
26ba25 |
+qemu-kvm -m 512 -object memory-backend-file,id=mem,size=512M,mem-path=/hugetlbfs,share=on \
|
|
|
26ba25 |
+ -numa node,memdev=mem \
|
|
|
26ba25 |
+ -chardev socket,id=chr0,path=/path/to/socket \
|
|
|
26ba25 |
+ -netdev type=vhost-user,id=net0,chardev=chr0 \
|
|
|
26ba25 |
+ -device virtio-net-pci,netdev=net0
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@item -netdev hubport,id=@var{id},hubid=@var{hubid}[,netdev=@var{nd}]
|
|
|
26ba25 |
@@ -2879,7 +2883,7 @@ and communicate. Requires the Linux @code{vhci} driver installed. Can
|
|
|
26ba25 |
be used as following:
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-qemu-system-i386 [...OPTIONS...] -bt hci,vlan=5 -bt vhci,vlan=5
|
|
|
26ba25 |
+qemu-kvm [...OPTIONS...] -bt hci,vlan=5 -bt vhci,vlan=5
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
|
|
|
26ba25 |
@item -bt device:@var{dev}[,vlan=@var{n}]
|
|
|
26ba25 |
@@ -3310,14 +3314,14 @@ ETEXI
|
|
|
26ba25 |
|
|
|
26ba25 |
DEF("realtime", HAS_ARG, QEMU_OPTION_realtime,
|
|
|
26ba25 |
"-realtime [mlock=on|off]\n"
|
|
|
26ba25 |
- " run qemu with realtime features\n"
|
|
|
26ba25 |
+ " run qemu-kvm with realtime features\n"
|
|
|
26ba25 |
" mlock=on|off controls mlock support (default: on)\n",
|
|
|
26ba25 |
QEMU_ARCH_ALL)
|
|
|
26ba25 |
STEXI
|
|
|
26ba25 |
@item -realtime mlock=on|off
|
|
|
26ba25 |
@findex -realtime
|
|
|
26ba25 |
-Run qemu with realtime features.
|
|
|
26ba25 |
-mlocking qemu and guest memory can be enabled via @option{mlock=on}
|
|
|
26ba25 |
+Run qemu-kvm with realtime features.
|
|
|
26ba25 |
+mlocking qemu-kvm and guest memory can be enabled via @option{mlock=on}
|
|
|
26ba25 |
(enabled by default).
|
|
|
26ba25 |
ETEXI
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -3331,7 +3335,7 @@ connections will likely be TCP-based, but also UDP, pseudo TTY, or even
|
|
|
26ba25 |
stdio are reasonable use case. The latter is allowing to start QEMU from
|
|
|
26ba25 |
within gdb and establish the connection via a pipe:
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
-(gdb) target remote | exec qemu-system-i386 -gdb stdio ...
|
|
|
26ba25 |
+(gdb) target remote | exec qemu-kvm -gdb stdio ...
|
|
|
26ba25 |
@end example
|
|
|
26ba25 |
ETEXI
|
|
|
26ba25 |
|
|
|
26ba25 |
@@ -4251,7 +4255,7 @@ which specify the queue number of cryptodev backend, the default of
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
|
|
|
26ba25 |
- # qemu-system-x86_64 \
|
|
|
26ba25 |
+ # qemu-kvm \
|
|
|
26ba25 |
[...] \
|
|
|
26ba25 |
-object cryptodev-backend-builtin,id=cryptodev0 \
|
|
|
26ba25 |
-device virtio-crypto-pci,id=crypto0,cryptodev=cryptodev0 \
|
|
|
26ba25 |
@@ -4271,7 +4275,7 @@ of cryptodev backend for multiqueue vhost-user, the default of @var{queues} is 1
|
|
|
26ba25 |
|
|
|
26ba25 |
@example
|
|
|
26ba25 |
|
|
|
26ba25 |
- # qemu-system-x86_64 \
|
|
|
26ba25 |
+ # qemu-kvm \
|
|
|
26ba25 |
[...] \
|
|
|
26ba25 |
-chardev socket,id=chardev0,path=/path/to/socket \
|
|
|
26ba25 |
-object cryptodev-vhost-user,id=cryptodev0,chardev=chardev0 \
|
|
|
26ba25 |
--
|
|
|
26ba25 |
1.8.3.1
|
|
|
26ba25 |
|