cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

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

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