mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
vl: move various initialization routines out of qemu_init
Some very simple initialization routines can be nested in existing subsystem-level functions, do that to simplify qemu_init. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
0546c0609c
commit
e0d17dfd22
5 changed files with 7 additions and 19 deletions
|
@ -877,6 +877,9 @@ static void machine_initfn(Object *obj)
|
|||
MachineState *ms = MACHINE(obj);
|
||||
MachineClass *mc = MACHINE_GET_CLASS(obj);
|
||||
|
||||
container_get(obj, "/peripheral");
|
||||
container_get(obj, "/peripheral-anon");
|
||||
|
||||
ms->dump_guest_core = true;
|
||||
ms->mem_merge = true;
|
||||
ms->enable_graphics = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue