diff options
author | Juan Quintela <quintela@redhat.com> | 2015-05-07 19:33:31 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-06-12 06:40:59 +0200 |
commit | 56e93d26b85bac76b93211393163c2ebcdee9481 (patch) | |
tree | 966512051fdc4c0f1684e7411043dd35ebc74dcf /include | |
parent | d8e3b729cf452d2689c8669f1ec18158db29fd5a (diff) |
migration: move ram stuff to migration/ram
For historic reasons, ram migration have been on arch_init.c. Just
split it into migration/ram.c, the same that happened with block.c.
There is only code movement, no changes altogether.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@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, 2 insertions, 1 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h index a6e025a248..b78a3b98b1 100644 --- a/include/migration/migration.h +++ b/include/migration/migration.h @@ -180,4 +180,6 @@ size_t ram_control_save_page(QEMUFile *f, ram_addr_t block_offset, ram_addr_t offset, size_t size, uint64_t *bytes_sent); + +void ram_mig_init(void); #endif diff --git a/include/sysemu/arch_init.h b/include/sysemu/arch_init.h index 54b36c16c4..c38892fec6 100644 --- a/include/sysemu/arch_init.h +++ b/include/sysemu/arch_init.h @@ -30,7 +30,6 @@ 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 kvm_available(void); |