提交 c188c539 编写于 作者: M Michael S. Tsirkin

postcopy-ram: add a stub for postcopy_request_shared_page

This fixes the build on systems without userfaultfd.
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 096bf4c8
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册