qemu/contrib
Marc-André Lureau 810033be08 libvhost-user: replace qemu/memfd.h usage
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 (assumed so when
MFD_ALLOW_SEALING is defined). A following commit will make the project
standalone and check for memfd API at configure time, instead of a
panic at runtime.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201125100640.366523-3-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-12-08 13:48:58 -05:00
..
elf2dmp elf2dmp: Fix memory leak on main() error paths 2020-10-27 16:48:40 +01:00
gitdm contrib/gitdm: Add more individual contributors 2020-10-27 09:53:47 +00:00
ivshmem-client contrib/: fix some comment spelling errors 2020-09-17 20:41:44 +02:00
ivshmem-server contrib/ivshmem: convert to meson 2020-08-21 06:30:11 -04:00
libvhost-user libvhost-user: replace qemu/memfd.h usage 2020-12-08 13:48:58 -05:00
plugins plugins: Fix two resource leaks in setup_socket() 2020-11-16 11:07:37 +00:00
rdmacm-mux contrib/rdmacm-mux: convert to Meson 2020-08-21 06:30:10 -04:00
systemd contrib: add systemd unit files 2017-12-20 22:29:26 +01:00
vhost-user-blk vhost-user-blk/scsi: Fix broken error handling for socket call 2020-11-17 04:16:55 -05:00
vhost-user-gpu meson: vhost-user-gpu/virtiofsd: use absolute path 2020-11-03 09:42:53 -05:00
vhost-user-input contrib/vhost-user-input: convert to meson 2020-08-21 06:30:10 -04:00
vhost-user-scsi vhost-user-scsi: Fix memleaks in vus_proc_req() 2020-12-08 13:48:57 -05:00