summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJuan Quintela2017-03-21 11:35:24 +0100
committerJuan Quintela2017-04-21 12:25:39 +0200
commitaaa2064c2ae25ef833b3324aedeba9a6363bd5ec (patch)
tree55ab769cf5fb821dcc69664c46a3414429dd6eb1 /include
parentram: Pass RAMBlock to bitmap_sync (diff)
downloadqemu-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')
-rw-r--r--include/migration/migration.h3
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);