diff options
author | Paolo Bonzini | 2020-11-03 09:45:26 +0100 |
---|---|---|
committer | Paolo Bonzini | 2020-12-10 18:15:12 +0100 |
commit | 58c91595a793b9f54b58a449121a2cf4b9f86cf0 (patch) | |
tree | c0dafaa1ef242b965a7ae68d7e8ab16e41b699ac /hw | |
parent | vl: move prelaunch part of qemu_init to new functions (diff) | |
download | qemu-58c91595a793b9f54b58a449121a2cf4b9f86cf0.tar.gz qemu-58c91595a793b9f54b58a449121a2cf4b9f86cf0.tar.xz qemu-58c91595a793b9f54b58a449121a2cf4b9f86cf0.zip |
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')
-rw-r--r-- | hw/core/machine.c | 1 |
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); |