|
From: | Michael S. Tsirkin |
Subject: | Re: [Qemu-devel] [PULL v2 00/50] virtio, vhost, pci, pc: features, cleanups |
Date: | Tue, 20 Mar 2018 17:51:29 +0200 |
On Tue, Mar 20, 2018 at 03:41:54PM +0000, Peter Maydell wrote: > 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 Let's update headers for arm and mips then? -- MST
[Prev in Thread] | Current Thread | [Next in Thread] |