]> Git Repo - qemu.git/commitdiff
postcopy-ram: add a stub for postcopy_request_shared_page
authorMichael S. Tsirkin <[email protected]>
Tue, 20 Mar 2018 14:26:10 +0000 (16:26 +0200)
committerMichael S. Tsirkin <[email protected]>
Tue, 20 Mar 2018 14:40:10 +0000 (16:40 +0200)
This fixes the build on systems without userfaultfd.

Signed-off-by: Michael S. Tsirkin <[email protected]>
migration/postcopy-ram.c

index 146bc09c178474a38f9831bef25b4a1b57f6ce92..8e08ff92f300df503196936a8a152cf8ec75ed78 100644 (file)
@@ -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);
This page took 0.028888 seconds and 4 git commands to generate.