qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL v2 00/50] virtio, vhost, pci, pc: features, clean


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL v2 00/50] virtio, vhost, pci, pc: features, cleanups
Date: Tue, 20 Mar 2018 15:41:54 +0000

On 20 March 2018 at 15:05, Michael S. Tsirkin <address@hidden> wrote:
> I'm curious why does it take that path though.
> Here's the rule
>
> #if defined(__linux__) && defined(__NR_userfaultfd) && defined(CONFIG_EVENTFD)
>
> If it's Linux we'll pick our own copy of the header
> and so __NR_userfaultfd is defined.
>
> CONFIG_EVENTFD is not set?

CONFIG_EVENTFD is set. __NR_userfaultfd is not. It isn't
defined in the system headers, and it's not defined in
our linux-headers/asm-arm64/. Only x86, s390, powerpc
and arm (32-bit) define it. I suspect the build would also
fail on MIPS if I had a mips host in the build set.

thanks
-- PMM



reply via email to

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