[Qemu-devel] [PULL v3 39/51] postcopy-ram: add a stub for postcopy_request_shared_page

Michael S. Tsirkin posted 51 patches 7 years, 7 months ago
Only 1 patches received!
[Qemu-devel] [PULL v3 39/51] postcopy-ram: add a stub for postcopy_request_shared_page
Posted by Michael S. Tsirkin 7 years, 7 months ago
This fixes the build on systems without userfaultfd.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 migration/postcopy-ram.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/migration/postcopy-ram.c b/migration/postcopy-ram.c
index 146bc09..8e08ff9 100644
--- a/migration/postcopy-ram.c
+++ b/migration/postcopy-ram.c
@@ -928,6 +928,13 @@ int postcopy_ram_prepare_discard(MigrationIncomingState *mis)
     return -1;
 }
 
+int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb,
+                                 uint64_t client_addr, uint64_t rb_offset)
+{
+    assert(0);
+    return -1;
+}
+
 int postcopy_ram_enable_notify(MigrationIncomingState *mis)
 {
     assert(0);
-- 
MST


  • [Qemu-devel] [PULL v3 39/51] postcopy-ram: add a stub for postcopy_request_shared_page