[Virtio-fs] [PATCH] virtiofsd: Enable xattr support by default
Vivek Goyal
vgoyal at redhat.com
Wed Jan 8 15:24:25 UTC 2020
Enable xattr support by default. Currently it is disabled by defaut
and that makes getfattr/setfattr fail in guest.
Signed-off-by: Vivek Goyal <vgoyal at redhat.com>
---
contrib/virtiofsd/passthrough_ll.c | 1 +
1 file changed, 1 insertion(+)
Index: qemu/contrib/virtiofsd/passthrough_ll.c
===================================================================
--- qemu.orig/contrib/virtiofsd/passthrough_ll.c 2020-01-08 10:10:08.762661288 -0500
+++ qemu/contrib/virtiofsd/passthrough_ll.c 2020-01-08 10:15:03.170488067 -0500
@@ -3096,6 +3096,7 @@ int main(int argc, char *argv[])
.writeback = 0,
.posix_lock = 1,
.proc_self_fd = -1,
+ .xattr = 1,
};
struct lo_map_elem *root_elem;
int ret = -1;
More information about the Virtio-fs
mailing list