qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_shared_page
@ 2018-03-20 14:39 Michael S. Tsirkin
  2018-03-20 16:08 ` Dr. David Alan Gilbert
  2018-03-20 19:34 ` no-reply
  0 siblings, 2 replies; 6+ messages in thread
From: Michael S. Tsirkin @ 2018-03-20 14:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, Juan Quintela, Dr. David Alan Gilbert

This fixes the build on systems without userfaultfd.

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

diff --git a/migration/postcopy-ram.c b/migration/postcopy-ram.c
index 146bc09..bf78d5c 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

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-20 14:39 [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_shared_page Michael S. Tsirkin
2018-03-20 16:08 ` Dr. David Alan Gilbert
2018-03-20 19:34 ` no-reply
2018-03-21  1:25   ` Fam Zheng
2018-03-21  2:03     ` Michael S. Tsirkin
2018-03-21  2:22       ` Fam Zheng

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).