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

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