From patchwork Thu Oct 26 01:29:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Kardashevskiy X-Patchwork-Id: 830423 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yMqFP4mdlz9t3C for ; Thu, 26 Oct 2017 12:30:16 +1100 (AEDT) Received: from localhost ([::1]:50527 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7Wzs-0002QB-3M for incoming@patchwork.ozlabs.org; Wed, 25 Oct 2017 21:30:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7WzW-0002Q6-3E for qemu-devel@nongnu.org; Wed, 25 Oct 2017 21:29:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7WzS-0003bn-VZ for qemu-devel@nongnu.org; Wed, 25 Oct 2017 21:29:50 -0400 Received: from ozlabs.ru ([107.173.13.209]:56160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7WzS-0003aG-PJ for qemu-devel@nongnu.org; Wed, 25 Oct 2017 21:29:46 -0400 Received: from vpl1.ozlabs.ibm.com (localhost [IPv6:::1]) by ozlabs.ru (Postfix) with ESMTP id 009B43A60066; Wed, 25 Oct 2017 21:28:06 -0400 (EDT) From: Alexey Kardashevskiy To: qemu-devel@nongnu.org Date: Thu, 26 Oct 2017 12:29:10 +1100 Message-Id: <20171026012910.45515-1-aik@ozlabs.ru> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 107.173.13.209 Subject: [Qemu-devel] [PATCH qemu] machine: Polish -machine xxx,help X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexey Kardashevskiy Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The "-machine xxx,help" prints kernel-irqchip possible values as "OnOffSplit", this adds separators to the printed line. Signed-off-by: Alexey Kardashevskiy --- aik@fstn1-p1:~$ ./qemu-system-ppc64 -machine pseries,help 2>&1 | grep kernel-irqchip Was: pseries-2.11.kernel-irqchip=OnOffSplit (Configure KVM in-kernel irqchip) Now: pseries-2.11.kernel-irqchip=On|Off|Split (Configure KVM in-kernel irqchip) --- hw/core/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/machine.c b/hw/core/machine.c index 36c2fb069c..ea89cf706e 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -506,7 +506,7 @@ static void machine_class_init(ObjectClass *oc, void *data) object_class_property_set_description(oc, "accel", "Accelerator list", &error_abort); - object_class_property_add(oc, "kernel-irqchip", "OnOffSplit", + object_class_property_add(oc, "kernel-irqchip", "On|Off|Split", NULL, machine_set_kernel_irqchip, NULL, NULL, &error_abort); object_class_property_set_description(oc, "kernel-irqchip",