aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/memfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qemu/memfd.h')
-rw-r--r--include/qemu/memfd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/qemu/memfd.h b/include/qemu/memfd.h
index 8b1fe6a..950fb88 100644
--- a/include/qemu/memfd.h
+++ b/include/qemu/memfd.h
@@ -17,4 +17,8 @@
#define F_SEAL_WRITE 0x0008 /* prevent writes */
#endif
+void *qemu_memfd_alloc(const char *name, size_t size, unsigned int seals,
+ int *fd);
+void qemu_memfd_free(void *ptr, size_t size, int fd);
+
#endif /* QEMU_MEMFD_H */