From: Alexey Kardashevskiy Date: Thu, 26 Oct 2017 01:41:39 +0000 (+1100) Subject: machine: Polish -machine xxx,help X-Git-Tag: v2.12.0-rc0~97^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e80200c567ceb01a6f133cb0bf4fade09c395251;p=thirdparty%2Fqemu.git machine: Polish -machine xxx,help The "-machine xxx,help" prints kernel-irqchip possible values as "OnOffSplit", this adds separators to the printed line. Also, since only lower case letters are specified in qapi/common.json, this changes the letter cases too. Signed-off-by: Alexey Kardashevskiy Signed-off-by: Michael Tokarev --- diff --git a/hw/core/machine.c b/hw/core/machine.c index cdc1163dc6f..5d445839e89 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -520,7 +520,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",