mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -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
|
@ -4280,10 +4280,6 @@ void qemu_init(int argc, char **argv, char **envp)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
blk_mig_init();
|
||||
ram_mig_init();
|
||||
dirty_bitmap_mig_init();
|
||||
|
||||
qemu_opts_foreach(qemu_find_opts("mon"),
|
||||
mon_init_func, NULL, &error_fatal);
|
||||
|
||||
|
@ -4316,7 +4312,6 @@ void qemu_init(int argc, char **argv, char **envp)
|
|||
reading from the other reads, because timer polling functions query
|
||||
clock values from the log. */
|
||||
replay_checkpoint(CHECKPOINT_INIT);
|
||||
qdev_machine_init();
|
||||
|
||||
current_machine->boot_order = boot_order;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue