qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] postcopy: Stub postcopy_request_shared_page
@ 2018-03-20 15:39 Dr. David Alan Gilbert (git)
  2018-03-20 18:02 ` no-reply
  0 siblings, 1 reply; 2+ messages in thread
From: Dr. David Alan Gilbert (git) @ 2018-03-20 15:39 UTC (permalink / raw)
  To: qemu-devel, mst; +Cc: quintela

From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

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

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-21 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-20 15:39 [Qemu-devel] [PATCH] postcopy: Stub postcopy_request_shared_page Dr. David Alan Gilbert (git)
2018-03-20 18:02 ` no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).