Peter Xu wrote:
> This new helper fetches file system type for a fd. Only Linux is
> implemented so far. Currently only tmpfs and hugetlbfs is defined, but it
s/is/are/
> can grow per need.
>
> Signed-off-by: Peter Xu
Reviewed-by: Juan Quintela
...
> +#include
...
> +case TMPFS_MAG
On 19.04.23 18:17, Peter Xu wrote:
This new helper fetches file system type for a fd. Only Linux is
implemented so far. Currently only tmpfs and hugetlbfs is defined, but it
can grow per need.
Signed-off-by: Peter Xu
---
include/qemu/mmap-alloc.h | 7 +++
util/mmap-alloc.c | 2
This new helper fetches file system type for a fd. Only Linux is
implemented so far. Currently only tmpfs and hugetlbfs is defined, but it
can grow per need.
Signed-off-by: Peter Xu
---
include/qemu/mmap-alloc.h | 7 +++
util/mmap-alloc.c | 28
2 files