Re: [PATCH v2 2/8] libvhost-user: replace qemu/memfd.h usage

2020-12-02 Thread Stefan Hajnoczi
On Wed, Nov 25, 2020 at 02:06:34PM +0400, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > Undo the damage from commit 5f9ff1eff3 ("libvhost-user: Support tracking > inflight I/O in shared memory") which introduced glib dependency through > osdep.h inclusion. > > libvhost-user.c

[PATCH v2 2/8] libvhost-user: replace qemu/memfd.h usage

2020-11-25 Thread marcandre . lureau
From: Marc-André Lureau Undo the damage from commit 5f9ff1eff3 ("libvhost-user: Support tracking inflight I/O in shared memory") which introduced glib dependency through osdep.h inclusion. libvhost-user.c tries to stay free from glib usage. Use glibc memfd_create directly when available (assume