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

b697b4
From b057b4ebec0f87f21ba4a15adbb2a1bde7240ed5 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
---
77609c
 docs/defs.rst.inc              |  4 ++--
77609c
 docs/tools/qemu-trace-stap.rst | 14 +++++++-------
77609c
 qemu-options.hx                | 10 +++++-----
77609c
 3 files changed, 14 insertions(+), 14 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/tools/qemu-trace-stap.rst b/docs/tools/qemu-trace-stap.rst
b697b4
index d53073b52b..9e93df084f 100644
a83cc2
--- a/docs/tools/qemu-trace-stap.rst
a83cc2
+++ b/docs/tools/qemu-trace-stap.rst
b697b4
@@ -46,19 +46,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
 
b697b4
@@ -90,18 +90,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
b697b4
@@ -109,7 +109,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/qemu-options.hx b/qemu-options.hx
b697b4
index ae2c6dbbfc..94c4a8dbaf 100644
a83cc2
--- a/qemu-options.hx
a83cc2
+++ b/qemu-options.hx
b697b4
@@ -3150,11 +3150,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