mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -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
|
@ -182,6 +182,10 @@ void migration_object_init(void)
|
|||
error_report_err(err);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
blk_mig_init();
|
||||
ram_mig_init();
|
||||
dirty_bitmap_mig_init();
|
||||
}
|
||||
|
||||
void migration_shutdown(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue