From: "Dr. David Alan Gilbert" <[email protected]>

On systems without userfault/eventfd/etc we need a stub
for it to link.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
 migration/postcopy-ram.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/migration/postcopy-ram.c b/migration/postcopy-ram.c
index 146bc09c17..856b13453b 100644
--- a/migration/postcopy-ram.c
+++ b/migration/postcopy-ram.c
@@ -954,6 +954,12 @@ void *postcopy_get_tmp_page(MigrationIncomingState *mis)
     return NULL;
 }
 
+int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb,
+                                 uint64_t client_addr, uint64_t rb_offset)
+{
+    assert(0);
+    return -1;
+}
 #endif
 
 /* ------------------------------------------------------------------------- */
-- 
2.14.3


Reply via email to