diff options
author | Dr. David Alan Gilbert | 2014-03-19 19:32:30 +0100 |
---|---|---|
committer | Juan Quintela | 2014-05-05 22:15:03 +0200 |
commit | 0d6ab3ab9149767eba192ec5ad659fd34e55a291 (patch) | |
tree | 702cf72bc42fb3714acc5b099de486eb044f31da /include/sysemu | |
parent | Count used RAMBlock pages for migration_dirty_pages (diff) | |
download | qemu-0d6ab3ab9149767eba192ec5ad659fd34e55a291.tar.gz qemu-0d6ab3ab9149767eba192ec5ad659fd34e55a291.tar.xz qemu-0d6ab3ab9149767eba192ec5ad659fd34e55a291.zip |
Provide init function for ram migration
Provide ram_mig_init (like blk_mig_init) for vl.c to initialise stuff
to do with ram migration (currently in arch_init.c).
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r-- | include/sysemu/arch_init.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/arch_init.h b/include/sysemu/arch_init.h index be71bcac2d..182d48d8c3 100644 --- a/include/sysemu/arch_init.h +++ b/include/sysemu/arch_init.h @@ -29,6 +29,7 @@ extern const uint32_t arch_type; void select_soundhw(const char *optarg); void do_acpitable_option(const QemuOpts *opts); void do_smbios_option(QemuOpts *opts); +void ram_mig_init(void); void cpudef_init(void); void audio_init(void); int tcg_available(void); |