diff options
author | Paolo Bonzini | 2020-10-21 11:25:58 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-12-10 18:15:11 +0100 |
commit | e0d17dfd22348eab63c5e19b7ee9c9212c2b8af8 (patch) | |
tree | 342bf50f0e243a707b80d6f96dc6f8d8dbcd0bd7 /hw/core | |
parent | vl: split various early command line options to a separate function (diff) | |
download | qemu-e0d17dfd22348eab63c5e19b7ee9c9212c2b8af8.tar.gz qemu-e0d17dfd22348eab63c5e19b7ee9c9212c2b8af8.tar.xz qemu-e0d17dfd22348eab63c5e19b7ee9c9212c2b8af8.zip |
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>
Diffstat (limited to 'hw/core')
-rw-r--r-- | hw/core/machine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c index bd97fc2f1a..83f45a9351 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -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; |