aboutsummaryrefslogtreecommitdiff
path: root/include/migration/postcopy-ram.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/migration/postcopy-ram.h')
-rw-r--r--include/migration/postcopy-ram.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/migration/postcopy-ram.h b/include/migration/postcopy-ram.h
index 43bbbcadc5..8e036b95a2 100644
--- a/include/migration/postcopy-ram.h
+++ b/include/migration/postcopy-ram.h
@@ -74,13 +74,15 @@ void postcopy_discard_send_finish(MigrationState *ms,
* to use other postcopy_ routines to allocate.
* returns 0 on success
*/
-int postcopy_place_page(MigrationIncomingState *mis, void *host, void *from);
+int postcopy_place_page(MigrationIncomingState *mis, void *host, void *from,
+ size_t pagesize);
/*
* Place a zero page at (host) atomically
* returns 0 on success
*/
-int postcopy_place_page_zero(MigrationIncomingState *mis, void *host);
+int postcopy_place_page_zero(MigrationIncomingState *mis, void *host,
+ size_t pagesize);
/*
* Allocate a page of memory that can be mapped at a later point in time