diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2014-03-19 18:32:30 +0000 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2014-05-05 22:15:03 +0200 |
commit | 0d6ab3ab9149767eba192ec5ad659fd34e55a291 (patch) | |
tree | 702cf72bc42fb3714acc5b099de486eb044f31da /include | |
parent | e30d1d8c7195848abb28a8c734a82b845b8b456a (diff) | |
download | qemu-0d6ab3ab9149767eba192ec5ad659fd34e55a291.zip qemu-0d6ab3ab9149767eba192ec5ad659fd34e55a291.tar.gz qemu-0d6ab3ab9149767eba192ec5ad659fd34e55a291.tar.bz2 |
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')
-rw-r--r-- | include/migration/migration.h | 2 | ||||
-rw-r--r-- | include/sysemu/arch_init.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h index 3e1e6c7..31fbf17 100644 --- a/include/migration/migration.h +++ b/include/migration/migration.h @@ -113,8 +113,6 @@ void free_xbzrle_decoded_buf(void); void acct_update_position(QEMUFile *f, size_t size, bool zero); -extern SaveVMHandlers savevm_ram_handlers; - uint64_t dup_mig_bytes_transferred(void); uint64_t dup_mig_pages_transferred(void); uint64_t skipped_mig_bytes_transferred(void); diff --git a/include/sysemu/arch_init.h b/include/sysemu/arch_init.h index be71bca..182d48d 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); |