summaryrefslogtreecommitdiffstats
path: root/tools/virtiofsd
diff options
context:
space:
mode:
authorCarlos Venegas2021-04-14 22:12:07 +0200
committerDr. David Alan Gilbert2021-05-06 20:47:44 +0200
commit1221a929be9c91e679f1983c5f1af5052f309d60 (patch)
tree59028932638ac2541193d8c70798ed7d2d00b851 /tools/virtiofsd
parentvirtiofsd: Allow use "-o xattrmap" without "-o xattr" (diff)
downloadqemu-1221a929be9c91e679f1983c5f1af5052f309d60.tar.gz
qemu-1221a929be9c91e679f1983c5f1af5052f309d60.tar.xz
qemu-1221a929be9c91e679f1983c5f1af5052f309d60.zip
virtiofsd: Add help for -o xattr-mapping
The option is not documented in help. Add small help about the option. Signed-off-by: Carlos Venegas <jose.carlos.venegas.munoz@intel.com> Message-Id: <20210414201207.3612432-3-jose.carlos.venegas.munoz@intel.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Connor Kuehl <ckuehl@redhat.com>
Diffstat (limited to 'tools/virtiofsd')
-rw-r--r--tools/virtiofsd/helper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/virtiofsd/helper.c b/tools/virtiofsd/helper.c
index 28243b51b2..5e98ed702b 100644
--- a/tools/virtiofsd/helper.c
+++ b/tools/virtiofsd/helper.c
@@ -172,6 +172,9 @@ void fuse_cmdline_help(void)
" default: no_writeback\n"
" -o xattr|no_xattr enable/disable xattr\n"
" default: no_xattr\n"
+ " -o xattrmap=<mapping> Enable xattr mapping (enables xattr)\n"
+ " <mapping> is a string consists of a series of rules\n"
+ " e.g. -o xattrmap=:map::user.virtiofs.:\n"
" -o modcaps=CAPLIST Modify the list of capabilities\n"
" e.g. -o modcaps=+sys_admin:-chown\n"
" --rlimit-nofile=<num> set maximum number of file descriptors\n"