On Tue, Mar 20, 2018 at 03:54:47PM +0000, Peter Maydell wrote: > On 20 March 2018 at 15:51, Michael S. Tsirkin <m...@redhat.com> wrote: > > On Tue, Mar 20, 2018 at 03:41:54PM +0000, Peter Maydell wrote: > >> 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. > > > Let's update headers for arm and mips then? > > Shouldn't that happen automatically? > > thanks > -- PMM
And apparently it does for arm: linux-headers/asm-arm/unistd-common.h has __NR_userfaultfd. What's the story for arm64 and mips? -- MST