diff options
author | Juan Quintela <quintela@redhat.com> | 2017-06-28 11:52:27 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2017-07-10 17:52:21 +0100 |
commit | f265e0e437a5d5fd0b48143012e2242b85816f61 (patch) | |
tree | bfc0fa5a82d2937aef0c4cee5f632f8c202f2933 /migration/ram.h | |
parent | acb5ea86971a7f3d0eac30996c4d0eab7b873879 (diff) | |
download | qemu-f265e0e437a5d5fd0b48143012e2242b85816f61.zip qemu-f265e0e437a5d5fd0b48143012e2242b85816f61.tar.gz qemu-f265e0e437a5d5fd0b48143012e2242b85816f61.tar.bz2 |
migration: Convert ram to use new load_setup()/load_cleanup()
Once there, I rename ram_migration_cleanup() to ram_save_cleanup().
Notice that this is the first pass, and I only passed XBZRLE to the
new scheme. Moved decoded_buf to inside XBZRLE struct.
As a bonus, I don't have to export xbzrle functions from ram.c.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
--
loaded_data pointer was needed because called can change it (dave)
spell loaded correctly in comment (dave)
Message-Id: <20170628095228.4661-5-quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/ram.h')
-rw-r--r-- | migration/ram.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/ram.h b/migration/ram.h index 6272eb0..a8b79a4 100644 --- a/migration/ram.h +++ b/migration/ram.h @@ -47,7 +47,6 @@ void migrate_decompress_threads_join(void); uint64_t ram_pagesize_summary(void); int ram_save_queue_pages(const char *rbname, ram_addr_t start, ram_addr_t len); void acct_update_position(QEMUFile *f, size_t size, bool zero); -void free_xbzrle_decoded_buf(void); void ram_debug_dump_bitmap(unsigned long *todump, bool expected, unsigned long pages); void ram_postcopy_migrated_memory_release(MigrationState *ms); |