From 58c91595a793b9f54b58a449121a2cf4b9f86cf0 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 3 Nov 2020 03:45:26 -0500 Subject: vl: extract various command line validation snippets to a new function Reviewed-by: Igor Mammedov Signed-off-by: Paolo Bonzini --- hw/core/machine.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/core/machine.c') diff --git a/hw/core/machine.c b/hw/core/machine.c index 83f45a9351..5a65b9d88e 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -883,6 +883,7 @@ static void machine_initfn(Object *obj) ms->dump_guest_core = true; ms->mem_merge = true; ms->enable_graphics = true; + ms->kernel_cmdline = g_strdup(""); if (mc->nvdimm_supported) { Object *obj = OBJECT(ms); -- cgit v1.2.3