yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-qemu-options-Add-missing-newline-to-accel-help-text.patch

ae23c9
From b1b31310c45e28770c779969e2a3692daa3eb28c Mon Sep 17 00:00:00 2001
ae23c9
From: Eduardo Habkost <ehabkost@redhat.com>
ae23c9
Date: Tue, 3 Jul 2018 13:27:24 +0200
ae23c9
Subject: [PATCH 185/268] qemu-options: Add missing newline to -accel help text
ae23c9
ae23c9
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
ae23c9
Message-id: <20180703132724.21964-2-ehabkost@redhat.com>
ae23c9
Patchwork-id: 81208
ae23c9
O-Subject: [RHEL-7.6 qemu-kvm-rhev PATCH 1/1] qemu-options: Add missing newline to -accel help text
ae23c9
Bugzilla: 1586313
ae23c9
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
ae23c9
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
ae23c9
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
ae23c9
ae23c9
The newline was removed by commit c97d6d2c, and broke -help output:
ae23c9
ae23c9
Before this patch:
ae23c9
ae23c9
  $ qemu-system-x86_64 -help | grep smp
ae23c9
                  thread=single|multi (enable multi-threaded TCG)-smp [...]
ae23c9
ae23c9
After this patch:
ae23c9
ae23c9
  $ qemu-system-x86_64 -help  | grep smp
ae23c9
  -smp [cpus=]n[,maxcpus=cpus][,cores=cores][,threads=threads][,sockets=sockets]
ae23c9
ae23c9
Fixes: c97d6d2cdf97edb4aebe832fdba65d701ad7bcb6
ae23c9
Cc: Sergio Andres Gomez Del Real <sergio.g.delreal@gmail.com>
ae23c9
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
ae23c9
Message-Id: <20180611195607.3015-1-ehabkost@redhat.com>
ae23c9
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
ae23c9
(cherry picked from commit 0b3c5c81bf0a9e32fd08c532acde3caa446b3712)
ae23c9
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
ae23c9
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
ae23c9
---
ae23c9
 qemu-options.hx | 2 +-
ae23c9
 1 file changed, 1 insertion(+), 1 deletion(-)
ae23c9
ae23c9
diff --git a/qemu-options.hx b/qemu-options.hx
ae23c9
index 43f10b1..4271cd3 100644
ae23c9
--- a/qemu-options.hx
ae23c9
+++ b/qemu-options.hx
ae23c9
@@ -130,7 +130,7 @@ ETEXI
ae23c9
 DEF("accel", HAS_ARG, QEMU_OPTION_accel,
ae23c9
     "-accel [accel=]accelerator[,thread=single|multi]\n"
ae23c9
     "                select accelerator (kvm, xen, hax, hvf, whpx or tcg; use 'help' for a list)\n"
ae23c9
-    "                thread=single|multi (enable multi-threaded TCG)", QEMU_ARCH_ALL)
ae23c9
+    "                thread=single|multi (enable multi-threaded TCG)\n", QEMU_ARCH_ALL)
ae23c9
 STEXI
ae23c9
 @item -accel @var{name}[,prop=@var{value}[,...]]
ae23c9
 @findex -accel
ae23c9
-- 
ae23c9
1.8.3.1
ae23c9