diff options
Diffstat (limited to 'include/qemu/memfd.h')
-rw-r--r-- | include/qemu/memfd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/qemu/memfd.h b/include/qemu/memfd.h index 41c24d8..de10198 100644 --- a/include/qemu/memfd.h +++ b/include/qemu/memfd.h @@ -16,9 +16,10 @@ #define F_SEAL_WRITE 0x0008 /* prevent writes */ #endif -int qemu_memfd_create(const char *name, size_t size, unsigned int seals); +int qemu_memfd_create(const char *name, size_t size, bool hugetlb, + uint64_t hugetlbsize, unsigned int seals, Error **errp); void *qemu_memfd_alloc(const char *name, size_t size, unsigned int seals, - int *fd); + int *fd, Error **errp); void qemu_memfd_free(void *ptr, size_t size, int fd); bool qemu_memfd_check(void); |