Re: [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_shared_page

2018-03-20 Thread Fam Zheng
On Wed, 03/21 04:03, Michael S. Tsirkin wrote: > On Wed, Mar 21, 2018 at 09:25:30AM +0800, Fam Zheng wrote: > > On Tue, 03/20 12:34, no-re...@patchew.org wrote: > > > /tmp/qemu-test/src/migration/postcopy-ram.c:787:41: error: 'struct > > > PostCopyFD' declared inside parameter list will not be vis

Re: [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_shared_page

2018-03-20 Thread Michael S. Tsirkin
On Wed, Mar 21, 2018 at 09:25:30AM +0800, Fam Zheng wrote: > On Tue, 03/20 12:34, no-re...@patchew.org wrote: > > /tmp/qemu-test/src/migration/postcopy-ram.c:787:41: error: 'struct > > PostCopyFD' declared inside parameter list will not be visible outside of > > this definition or declaration [-W

Re: [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_shared_page

2018-03-20 Thread Fam Zheng
On Tue, 03/20 12:34, no-re...@patchew.org wrote: > /tmp/qemu-test/src/migration/postcopy-ram.c:787:41: error: 'struct > PostCopyFD' declared inside parameter list will not be visible outside of > this definition or declaration [-Werror] > int postcopy_request_shared_page(struct PostCopyFD *pcfd,

Re: [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_shared_page

2018-03-20 Thread no-reply
-ram: add a stub for postcopy_request_shared_page === TEST SCRIPT BEGIN === #!/bin/bash set -e git submodule update --init dtc # Let docker tests dump environment info export SHOW_ENV=1 export J=8 time make docker-test-mingw@fedora === TEST SCRIPT END === Updating

Re: [Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_shared_page

2018-03-20 Thread Dr. David Alan Gilbert
* Michael S. Tsirkin (m...@redhat.com) wrote: > This fixes the build on systems without userfaultfd. > > Signed-off-by: Michael S. Tsirkin Reviewed-by: Dr. David Alan Gilbert > --- > migration/postcopy-ram.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/migr

[Qemu-devel] [PATCH] postcopy-ram: add a stub for postcopy_request_shared_page

2018-03-20 Thread Michael S. Tsirkin
This fixes the build on systems without userfaultfd. Signed-off-by: Michael S. Tsirkin --- 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/postcop