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

60061b
From 0d3fc0b4c5773c6cabb0a58c064475f76eb6ac1e Mon Sep 17 00:00:00 2001
60061b
From: Miroslav Rezanina <mrezanin@redhat.com>
60061b
Date: Wed, 8 Jul 2020 08:35:50 +0200
60061b
Subject: Use qemu-kvm in documentation instead of qemu-system-<arch>
60061b
60061b
Patchwork-id: 62380
60061b
O-Subject: [RHEV-7.1 qemu-kvm-rhev PATCHv4] Use qemu-kvm in documentation instead of qemu-system-i386
60061b
Bugzilla: 1140620
60061b
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
60061b
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
60061b
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
60061b
60061b
From: Miroslav Rezanina <mrezanin@redhat.com>
60061b
60061b
We change the name and location of qemu-kvm binaries. Update documentation
60061b
to reflect this change. Only architectures available in RHEL are updated.
60061b
60061b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
60061b
60061b
Rebase notes (5.1.0 rc0):
60061b
 - qemu-block-drivers.texi converted to qemu-block-drivers.rst (upstream)
60061b
60061b
Rebase notes (5.2.0 rc0):
60061b
 - rewrite patch to new docs structure
60061b
---
60061b
 docs/defs.rst.inc              |  4 ++--
60061b
 docs/tools/qemu-trace-stap.rst | 14 +++++++-------
60061b
 qemu-options.hx                | 10 +++++-----
60061b
 3 files changed, 14 insertions(+), 14 deletions(-)
60061b
60061b
diff --git a/docs/defs.rst.inc b/docs/defs.rst.inc
60061b
index 52d6454b93..d74dbdeca9 100644
60061b
--- a/docs/defs.rst.inc
60061b
+++ b/docs/defs.rst.inc
60061b
@@ -9,7 +9,7 @@
60061b
    but the manpages will end up misrendered with following normal text
60061b
    incorrectly in boldface.
60061b
 
60061b
-.. |qemu_system| replace:: qemu-system-x86_64
60061b
-.. |qemu_system_x86| replace:: qemu-system-x86_64
60061b
+.. |qemu_system| replace:: qemu-kvm
60061b
+.. |qemu_system_x86| replace:: qemu-kvm
60061b
 .. |I2C| replace:: I\ :sup:`2`\ C
60061b
 .. |I2S| replace:: I\ :sup:`2`\ S
60061b
diff --git a/docs/tools/qemu-trace-stap.rst b/docs/tools/qemu-trace-stap.rst
60061b
index d53073b52b..9e93df084f 100644
60061b
--- a/docs/tools/qemu-trace-stap.rst
60061b
+++ b/docs/tools/qemu-trace-stap.rst
60061b
@@ -46,19 +46,19 @@ The following commands are valid:
60061b
   any of the listed names. If no *PATTERN* is given, the all possible
60061b
   probes will be listed.
60061b
 
60061b
-  For example, to list all probes available in the ``qemu-system-x86_64``
60061b
+  For example, to list all probes available in the ``qemu-kvm``
60061b
   binary:
60061b
 
60061b
   ::
60061b
 
60061b
-    $ qemu-trace-stap list qemu-system-x86_64
60061b
+    $ qemu-trace-stap list qemu-kvm
60061b
 
60061b
   To filter the list to only cover probes related to QEMU's cryptographic
60061b
   subsystem, in a binary outside ``$PATH``
60061b
 
60061b
   ::
60061b
 
60061b
-    $ qemu-trace-stap list /opt/qemu/4.0.0/bin/qemu-system-x86_64 'qcrypto*'
60061b
+    $ qemu-trace-stap list /opt/qemu/4.0.0/bin/qemu-kvm 'qcrypto*'
60061b
 
60061b
 .. option:: run OPTIONS BINARY PATTERN...
60061b
 
60061b
@@ -90,18 +90,18 @@ The following commands are valid:
60061b
     Restrict the tracing session so that it only triggers for the process
60061b
     identified by *PID*.
60061b
 
60061b
-  For example, to monitor all processes executing ``qemu-system-x86_64``
60061b
+  For example, to monitor all processes executing ``qemu-kvm``
60061b
   as found on ``$PATH``, displaying all I/O related probes:
60061b
 
60061b
   ::
60061b
 
60061b
-    $ qemu-trace-stap run qemu-system-x86_64 'qio*'
60061b
+    $ qemu-trace-stap run qemu-kvm 'qio*'
60061b
 
60061b
   To monitor only the QEMU process with PID 1732
60061b
 
60061b
   ::
60061b
 
60061b
-    $ qemu-trace-stap run --pid=1732 qemu-system-x86_64 'qio*'
60061b
+    $ qemu-trace-stap run --pid=1732 qemu-kvm 'qio*'
60061b
 
60061b
   To monitor QEMU processes running an alternative binary outside of
60061b
   ``$PATH``, displaying verbose information about setup of the
60061b
@@ -109,7 +109,7 @@ The following commands are valid:
60061b
 
60061b
   ::
60061b
 
60061b
-    $ qemu-trace-stap -v run /opt/qemu/4.0.0/qemu-system-x86_64 'qio*'
60061b
+    $ qemu-trace-stap -v run /opt/qemu/4.0.0/qemu-kvm 'qio*'
60061b
 
60061b
 See also
60061b
 --------
60061b
diff --git a/qemu-options.hx b/qemu-options.hx
60061b
index ae2c6dbbfc..94c4a8dbaf 100644
60061b
--- a/qemu-options.hx
60061b
+++ b/qemu-options.hx
60061b
@@ -3150,11 +3150,11 @@ SRST
60061b
 
60061b
     ::
60061b
 
60061b
-        qemu -m 512 -object memory-backend-file,id=mem,size=512M,mem-path=/hugetlbfs,share=on \
60061b
-             -numa node,memdev=mem \
60061b
-             -chardev socket,id=chr0,path=/path/to/socket \
60061b
-             -netdev type=vhost-user,id=net0,chardev=chr0 \
60061b
-             -device virtio-net-pci,netdev=net0
60061b
+        qemu-kvm -m 512 -object memory-backend-file,id=mem,size=512M,mem-path=/hugetlbfs,share=on \
60061b
+                 -numa node,memdev=mem \
60061b
+                 -chardev socket,id=chr0,path=/path/to/socket \
60061b
+                 -netdev type=vhost-user,id=net0,chardev=chr0 \
60061b
+                 -device virtio-net-pci,netdev=net0
60061b
 
60061b
 ``-netdev vhost-vdpa,vhostdev=/path/to/dev``
60061b
     Establish a vhost-vdpa netdev.
60061b
-- 
60061b
2.27.0
60061b