qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] postcopy: Stub postcopy_request_shared_page


From: Dr. David Alan Gilbert (git)
Subject: [Qemu-devel] [PATCH] postcopy: Stub postcopy_request_shared_page
Date: Tue, 20 Mar 2018 15:39:41 +0000

From: "Dr. David Alan Gilbert" <address@hidden>

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

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
---
 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

[Prev in Thread] Current Thread [Next in Thread]