yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/0015-Use-qemu-kvm-in-documentation-instead-of-qemu-system.patch

a83cc2
From 55fde02ee1a9aa0e812af8534a9adf553accc522 Mon Sep 17 00:00:00 2001
a83cc2
From: Miroslav Rezanina <mrezanin@redhat.com>
a83cc2
Date: Wed, 8 Jul 2020 08:35:50 +0200
a83cc2
Subject: Use qemu-kvm in documentation instead of qemu-system-<arch>
a83cc2
a83cc2
Patchwork-id: 62380
a83cc2
O-Subject: [RHEV-7.1 qemu-kvm-rhev PATCHv4] Use qemu-kvm in documentation instead of qemu-system-i386
a83cc2
Bugzilla: 1140620
a83cc2
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
a83cc2
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
a83cc2
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
a83cc2
a83cc2
From: Miroslav Rezanina <mrezanin@redhat.com>
a83cc2
a83cc2
We change the name and location of qemu-kvm binaries. Update documentation
a83cc2
to reflect this change. Only architectures available in RHEL are updated.
a83cc2
a83cc2
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
a83cc2
---
a83cc2
 docs/defs.rst.inc                      |  4 ++--
a83cc2
 docs/interop/live-block-operations.rst |  4 ++--
a83cc2
 docs/tools/qemu-trace-stap.rst         | 14 +++++++-------
a83cc2
 docs/tools/virtiofsd.rst               |  2 +-
a83cc2
 qemu-options.hx                        | 10 +++++-----
a83cc2
 5 files changed, 17 insertions(+), 17 deletions(-)
a83cc2
a83cc2
diff --git a/docs/defs.rst.inc b/docs/defs.rst.inc
a83cc2
index 52d6454b93..d74dbdeca9 100644
a83cc2
--- a/docs/defs.rst.inc
a83cc2
+++ b/docs/defs.rst.inc
a83cc2
@@ -9,7 +9,7 @@
a83cc2
    but the manpages will end up misrendered with following normal text
a83cc2
    incorrectly in boldface.
a83cc2
 
a83cc2
-.. |qemu_system| replace:: qemu-system-x86_64
a83cc2
-.. |qemu_system_x86| replace:: qemu-system-x86_64
a83cc2
+.. |qemu_system| replace:: qemu-kvm
a83cc2
+.. |qemu_system_x86| replace:: qemu-kvm
a83cc2
 .. |I2C| replace:: I\ :sup:`2`\ C
a83cc2
 .. |I2S| replace:: I\ :sup:`2`\ S
a83cc2
diff --git a/docs/interop/live-block-operations.rst b/docs/interop/live-block-operations.rst
a83cc2
index 1073b930dc..881432253f 100644
a83cc2
--- a/docs/interop/live-block-operations.rst
a83cc2
+++ b/docs/interop/live-block-operations.rst
a83cc2
@@ -129,7 +129,7 @@ To show some example invocations of command-line, we will use the
a83cc2
 following invocation of QEMU, with a QMP server running over UNIX
a83cc2
 socket::
a83cc2
 
a83cc2
-    $ ./qemu-system-x86_64 -display none -no-user-config \
a83cc2
+    $ qemu-kvm -display none -no-user-config \
a83cc2
         -M q35 -nodefaults -m 512 \
a83cc2
         -blockdev node-name=node-A,driver=qcow2,file.driver=file,file.node-name=file,file.filename=./a.qcow2 \
a83cc2
         -device virtio-blk,drive=node-A,id=virtio0 \
a83cc2
@@ -694,7 +694,7 @@ instance, with the following invocation.  (As noted earlier, for
a83cc2
 simplicity's sake, the destination QEMU is started on the same host, but
a83cc2
 it could be located elsewhere)::
a83cc2
 
a83cc2
-    $ ./qemu-system-x86_64 -display none -no-user-config \
a83cc2
+    $ qemu-kvm -display none -no-user-config \
a83cc2
         -M q35 -nodefaults -m 512 \
a83cc2
         -blockdev node-name=node-TargetDisk,driver=qcow2,file.driver=file,file.node-name=file,file.filename=./target-disk.qcow2 \
a83cc2
         -device virtio-blk,drive=node-TargetDisk,id=virtio0 \
a83cc2
diff --git a/docs/tools/qemu-trace-stap.rst b/docs/tools/qemu-trace-stap.rst
a83cc2
index fb70445c75..0d9a783112 100644
a83cc2
--- a/docs/tools/qemu-trace-stap.rst
a83cc2
+++ b/docs/tools/qemu-trace-stap.rst
a83cc2
@@ -45,19 +45,19 @@ The following commands are valid:
a83cc2
   any of the listed names. If no *PATTERN* is given, the all possible
a83cc2
   probes will be listed.
a83cc2
 
a83cc2
-  For example, to list all probes available in the ``qemu-system-x86_64``
a83cc2
+  For example, to list all probes available in the ``qemu-kvm``
a83cc2
   binary:
a83cc2
 
a83cc2
   ::
a83cc2
 
a83cc2
-    $ qemu-trace-stap list qemu-system-x86_64
a83cc2
+    $ qemu-trace-stap list qemu-kvm
a83cc2
 
a83cc2
   To filter the list to only cover probes related to QEMU's cryptographic
a83cc2
   subsystem, in a binary outside ``$PATH``
a83cc2
 
a83cc2
   ::
a83cc2
 
a83cc2
-    $ qemu-trace-stap list /opt/qemu/4.0.0/bin/qemu-system-x86_64 'qcrypto*'
a83cc2
+    $ qemu-trace-stap list /opt/qemu/4.0.0/bin/qemu-kvm 'qcrypto*'
a83cc2
 
a83cc2
 .. option:: run OPTIONS BINARY PATTERN...
a83cc2
 
a83cc2
@@ -89,18 +89,18 @@ The following commands are valid:
a83cc2
     Restrict the tracing session so that it only triggers for the process
a83cc2
     identified by *PID*.
a83cc2
 
a83cc2
-  For example, to monitor all processes executing ``qemu-system-x86_64``
a83cc2
+  For example, to monitor all processes executing ``qemu-kvm``
a83cc2
   as found on ``$PATH``, displaying all I/O related probes:
a83cc2
 
a83cc2
   ::
a83cc2
 
a83cc2
-    $ qemu-trace-stap run qemu-system-x86_64 'qio*'
a83cc2
+    $ qemu-trace-stap run qemu-kvm 'qio*'
a83cc2
 
a83cc2
   To monitor only the QEMU process with PID 1732
a83cc2
 
a83cc2
   ::
a83cc2
 
a83cc2
-    $ qemu-trace-stap run --pid=1732 qemu-system-x86_64 'qio*'
a83cc2
+    $ qemu-trace-stap run --pid=1732 qemu-kvm 'qio*'
a83cc2
 
a83cc2
   To monitor QEMU processes running an alternative binary outside of
a83cc2
   ``$PATH``, displaying verbose information about setup of the
a83cc2
@@ -108,7 +108,7 @@ The following commands are valid:
a83cc2
 
a83cc2
   ::
a83cc2
 
a83cc2
-    $ qemu-trace-stap -v run /opt/qemu/4.0.0/qemu-system-x86_64 'qio*'
a83cc2
+    $ qemu-trace-stap -v run /opt/qemu/4.0.0/qemu-kvm 'qio*'
a83cc2
 
a83cc2
 See also
a83cc2
 --------
a83cc2
diff --git a/docs/tools/virtiofsd.rst b/docs/tools/virtiofsd.rst
a83cc2
index 00554c75bd..6e0fc94005 100644
a83cc2
--- a/docs/tools/virtiofsd.rst
a83cc2
+++ b/docs/tools/virtiofsd.rst
a83cc2
@@ -301,7 +301,7 @@ Export ``/var/lib/fs/vm001/`` on vhost-user UNIX domain socket
a83cc2
 ::
a83cc2
 
a83cc2
   host# virtiofsd --socket-path=/var/run/vm001-vhost-fs.sock -o source=/var/lib/fs/vm001
a83cc2
-  host# qemu-system-x86_64 \
a83cc2
+  host# qemu-kvm \
a83cc2
       -chardev socket,id=char0,path=/var/run/vm001-vhost-fs.sock \
a83cc2
       -device vhost-user-fs-pci,chardev=char0,tag=myfs \
a83cc2
       -object memory-backend-memfd,id=mem,size=4G,share=on \
a83cc2
diff --git a/qemu-options.hx b/qemu-options.hx
a83cc2
index 0d4fb61bf7..79ca09feac 100644
a83cc2
--- a/qemu-options.hx
a83cc2
+++ b/qemu-options.hx
a83cc2
@@ -3011,11 +3011,11 @@ SRST
a83cc2
 
a83cc2
     ::
a83cc2
 
a83cc2
-        qemu -m 512 -object memory-backend-file,id=mem,size=512M,mem-path=/hugetlbfs,share=on \
a83cc2
-             -numa node,memdev=mem \
a83cc2
-             -chardev socket,id=chr0,path=/path/to/socket \
a83cc2
-             -netdev type=vhost-user,id=net0,chardev=chr0 \
a83cc2
-             -device virtio-net-pci,netdev=net0
a83cc2
+        qemu-kvm -m 512 -object memory-backend-file,id=mem,size=512M,mem-path=/hugetlbfs,share=on \
a83cc2
+                 -numa node,memdev=mem \
a83cc2
+                 -chardev socket,id=chr0,path=/path/to/socket \
a83cc2
+                 -netdev type=vhost-user,id=net0,chardev=chr0 \
a83cc2
+                 -device virtio-net-pci,netdev=net0
a83cc2
 
a83cc2
 ``-netdev vhost-vdpa,vhostdev=/path/to/dev``
a83cc2
     Establish a vhost-vdpa netdev.
a83cc2
-- 
a83cc2
2.27.0
a83cc2