qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] RDMA wrongly detected as being supported on FreeBSD


From: Rebecca Cran
Subject: Re: [Qemu-devel] RDMA wrongly detected as being supported on FreeBSD
Date: Fri, 27 Jul 2018 21:50:00 -0600
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0

On 7/25/18 5:14 AM, Thomas Huth wrote:

>
> Note that the error has been reported to happen on FreeBSD - so I doubt
> that this <linux/types.h> header should be here.
>
> Anyway, our include/standard-headers/linux/types.h is also empty ... so
> could you try whether it compiles if you simply remove this #include
> line, Rebecca?


Sorry for the delay, I'm just getting back to this. Removing the include
causes it to fail later on, with:


/home/bcran/workspace/qemu/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, MREMAP_MAYMOVE);
                ^
/home/bcran/workspace/qemu/hw/rdma/vmw/pvrdma_cmd.c:60:17: warning: this
function declaration is not a prototype [-Wstrict-prototypes]
/home/bcran/workspace/qemu/hw/rdma/vmw/pvrdma_cmd.c:60:46: error: use of
undeclared identifier 'MREMAP_MAYMOVE'
    host_virt = mremap(curr_page, 0, length, MREMAP_MAYMOVE);
                                             ^
/home/bcran/workspace/qemu/hw/rdma/vmw/pvrdma_cmd.c:97:48: error: use of
undeclared identifier 'MREMAP_MAYMOVE'
        mremap(curr_page, 0, TARGET_PAGE_SIZE, MREMAP_MAYMOVE |
MREMAP_FIXED,
                                               ^
/home/bcran/workspace/qemu/hw/rdma/vmw/pvrdma_cmd.c:97:65: error: use of
undeclared identifier 'MREMAP_FIXED'
        mremap(curr_page, 0, TARGET_PAGE_SIZE, MREMAP_MAYMOVE |
MREMAP_FIXED,


Since I'm not interested in RDMA support, I can work around it by
passing --disable-rdma on the command line.


-- 
Rebecca




reply via email to

[Prev in Thread] Current Thread [Next in Thread]