Re: [Qemu-devel] [PATCH v2 3/9] osdep: add memfd helpers

2015-08-03 Thread Marc-André Lureau
fwiw, I changed the summary to "util: add memfd helpers"

[Qemu-devel] [PATCH v2 3/9] osdep: add memfd helpers

2015-07-28 Thread Marc-André Lureau
Add qemu_memfd_alloc/free() helpers. The function helps to allocate and seal a memfd, and implements an open/unlink/mmap fallback for system that do not support memfd. Signed-off-by: Marc-André Lureau --- include/qemu/memfd.h | 4 +++ util/memfd.c | 74 +