aboutsummaryrefslogtreecommitdiff
path: root/hw/core/machine.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-11-03 03:45:26 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2020-12-10 12:15:12 -0500
commit58c91595a793b9f54b58a449121a2cf4b9f86cf0 (patch)
treec0dafaa1ef242b965a7ae68d7e8ab16e41b699ac /hw/core/machine.c
parentd8e4de41c95f701f79869080b23362f1325c8897 (diff)
vl: extract various command line validation snippets to a new function
Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/machine.c')
-rw-r--r--hw/core/machine.c1
1 files changed, 1 insertions, 0 deletions
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);