projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
096bf4c
)
postcopy-ram: add a stub for postcopy_request_shared_page
author
Michael S. Tsirkin
<mst@redhat.com>
Tue, 20 Mar 2018 14:26:10 +0000
(16:26 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
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 <mst@redhat.com>
migration/postcopy-ram.c
patch
|
blob
|
history
diff --git
a/migration/postcopy-ram.c
b/migration/postcopy-ram.c
index 146bc09c178474a38f9831bef25b4a1b57f6ce92..8e08ff92f300df503196936a8a152cf8ec75ed78 100644
(file)
--- 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);