mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
d8e4de41c9
commit
58c91595a7
2 changed files with 40 additions and 39 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue