]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
virtiofsd: Add docs/helper for killpriv_v2/no_killpriv_v2 option
authorLiu Yiding <liuyd.fnst@fujitsu.com>
Thu, 21 Apr 2022 09:51:51 +0000 (17:51 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 21 Apr 2022 10:05:15 +0000 (12:05 +0200)
virtiofsd has introduced killpriv_v2/no_killpriv_v2 for a while. Add
description of it to docs/helper.

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Message-Id: <20220421095151.2231099-1-liuyd.fnst@fujitsu.com>

[Small documentation fixes: s/as client supports/as the client supports/
and s/.  /. /.
--Stefan]

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
docs/tools/virtiofsd.rst
tools/virtiofsd/helper.c

index 0c0560203c7c90f11e607fb88ce5b423b7fc4a56..e457b13d56f0a529b9f3b16ce4afb78eaf6eda1d 100644 (file)
@@ -111,6 +111,11 @@ Options
     label. Server will try to set that label on newly created file
     atomically wherever possible.
 
+  * killpriv_v2|no_killpriv_v2 -
+    Enable/disable ``FUSE_HANDLE_KILLPRIV_V2`` support. KILLPRIV_V2 is enabled
+    by default as long as the client supports it. Enabling this option helps
+    with performance in write path.
+
 .. option:: --socket-path=PATH
 
   Listen on vhost-user UNIX domain socket at PATH.
index e226fc590fb74da411596fae60a6eed47218d830..f8981e5bdf1a06559be21b48bee5e73e7e933a9d 100644 (file)
@@ -188,6 +188,9 @@ void fuse_cmdline_help(void)
            "    -o announce_submounts      Announce sub-mount points to the guest\n"
            "    -o posix_acl/no_posix_acl  Enable/Disable posix_acl. (default: disabled)\n"
            "    -o security_label/no_security_label  Enable/Disable security label. (default: disabled)\n"
+           "    -o killpriv_v2/no_killpriv_v2\n"
+           "                               Enable/Disable FUSE_HANDLE_KILLPRIV_V2.\n"
+           "                               (default: enabled as long as client supports it)\n"
            );
 }