Re: [Qemu-devel] usage of mremap in pvrdma break FreeBSD build

2018-08-24 Thread Roger Pau Monné
On Fri, Aug 24, 2018 at 07:49:01PM +0300, Marcel Apfelbaum wrote: > Hi Roger, > > > On 08/24/2018 06:58 PM, Roger Pau Monné wrote: > > Hello, > > > > The usage of mremap in the pvrdma code breaks the build on FreeBSD: > > > > /root/src/xen/tools/qemu-xen-dir/hw/rdma/vmw/pvrdma_cmd.c:60:17: warn

Re: [Qemu-devel] usage of mremap in pvrdma break FreeBSD build

2018-08-24 Thread Marcel Apfelbaum
Hi Roger, On 08/24/2018 06:58 PM, Roger Pau Monné wrote: Hello, The usage of mremap in the pvrdma code breaks the build on FreeBSD: /root/src/xen/tools/qemu-xen-dir/hw/rdma/vmw/pvrdma_cmd.c:60:17: warning: implicit declaration of function 'mremap' is invalid in C99 [-Wimplicit-functio

[Qemu-devel] usage of mremap in pvrdma break FreeBSD build

2018-08-24 Thread Roger Pau Monné
Hello, The usage of mremap in the pvrdma code breaks the build on FreeBSD: /root/src/xen/tools/qemu-xen-dir/hw/rdma/vmw/pvrdma_cmd.c:60:17: warning: implicit declaration of function 'mremap' is invalid in C99 [-Wimplicit-function-declaration] host_virt = mremap(curr_page, 0, length, MR