diff options
author | Juan Quintela | 2017-03-21 11:35:24 +0100 |
---|---|---|
committer | Juan Quintela | 2017-04-21 12:25:39 +0200 |
commit | aaa2064c2ae25ef833b3324aedeba9a6363bd5ec (patch) | |
tree | 55ab769cf5fb821dcc69664c46a3414429dd6eb1 /include/migration | |
parent | ram: Pass RAMBlock to bitmap_sync (diff) | |
download | qemu-aaa2064c2ae25ef833b3324aedeba9a6363bd5ec.tar.gz qemu-aaa2064c2ae25ef833b3324aedeba9a6363bd5ec.tar.xz qemu-aaa2064c2ae25ef833b3324aedeba9a6363bd5ec.zip |
ram: ram_discard_range() don't use the mis parameter
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'include/migration')
-rw-r--r-- | include/migration/migration.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h index 2cd20077ac..b84ec3de32 100644 --- a/include/migration/migration.h +++ b/include/migration/migration.h @@ -270,8 +270,7 @@ void ram_debug_dump_bitmap(unsigned long *todump, bool expected); /* For outgoing discard bitmap */ int ram_postcopy_send_discard_bitmap(MigrationState *ms); /* For incoming postcopy discard */ -int ram_discard_range(MigrationIncomingState *mis, const char *block_name, - uint64_t start, size_t length); +int ram_discard_range(const char *block_name, uint64_t start, size_t length); int ram_postcopy_incoming_init(MigrationIncomingState *mis); void ram_postcopy_migrated_memory_release(MigrationState *ms); |