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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/memfd.h b/include/qemu/memfd.h
index de10198ed6..49e79634da 100644
--- a/include/qemu/memfd.h
+++ b/include/qemu/memfd.h
@@ -18,6 +18,7 @@
int qemu_memfd_create(const char *name, size_t size, bool hugetlb,
uint64_t hugetlbsize, unsigned int seals, Error **errp);
+bool qemu_memfd_alloc_check(void);
void *qemu_memfd_alloc(const char *name, size_t size, unsigned int seals,
int *fd, Error **errp);
void qemu_memfd_free(void *ptr, size_t size, int fd);