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

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