Hi On Tue, Jul 28, 2015 at 10:11 AM, Paolo Bonzini <pbonz...@redhat.com> wrote: >> >> What's defining all these macros? > > They're in asm/unistd.h. > > I think that, instead of making qemu/osdep.h the new qemu-common.h, the > wrappers added by patch 3 should be declared in a new header > qemu/memfd.h. The implementation in util/memfd.c can include both > linux/fcntl.h and asm/unistd.h. >
Ok, shouldn't it keep the inline function? this avoids future clash when upgrading glibc. -- Marc-André Lureau