diff options
author | Juan Quintela <quintela@redhat.com> | 2017-03-21 11:35:24 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-04-21 12:25:39 +0200 |
commit | aaa2064c2ae25ef833b3324aedeba9a6363bd5ec (patch) | |
tree | 55ab769cf5fb821dcc69664c46a3414429dd6eb1 /include | |
parent | 15440dd5a08a6b10538b9e62c6d95ac8a838d78a (diff) | |
download | qemu-aaa2064c2ae25ef833b3324aedeba9a6363bd5ec.zip qemu-aaa2064c2ae25ef833b3324aedeba9a6363bd5ec.tar.gz qemu-aaa2064c2ae25ef833b3324aedeba9a6363bd5ec.tar.bz2 |
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')
-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 2cd2007..b84ec3d 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); |