From: Brian Turek Date: Thu, 8 Oct 2020 14:32:26 +0000 (+0100) Subject: qemu: add docs for 'fmode' and 'dmode' options X-Git-Tag: v6.10.0-rc1~341 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae110dc58b4dd09472b1ad8272652d6f8a031c45;p=thirdparty%2Flibvirt.git qemu: add docs for 'fmode' and 'dmode' options Adds documentation for QEMU 9pfs 'fmode' and 'dmode' options. Signed-off-by: Brian Turek Signed-off-by: Ján Tomko Reviewed-by: Ján Tomko --- diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst index ae635bedff..a6ab845f92 100644 --- a/docs/formatdomain.rst +++ b/docs/formatdomain.rst @@ -3062,6 +3062,12 @@ A directory on the host that can be accessed directly from the guest. + + + + + + @@ -3140,6 +3146,13 @@ A directory on the host that can be accessed directly from the guest. "virtio-non-transitional", or "virtio". See `Virtio transitional devices <#elementsVirtioTransitional>`__ for more details. + The filesystem element has optional attributes ``fmode`` and ``dmode``. + These two attributes control the creation mode for files and directories + when used with the ``mapped`` value for ``accessmode`` (:since:`since 6.10.0, + requires QEMU 2.10` ). If not specified, QEMU creates files with mode + ``600`` and directories with mode ``700``. The setuid, setgid, and sticky + bit are unsupported. + The filesystem element has an optional attribute ``multidevs`` which specifies how to deal with a filesystem export containing more than one device, in order to avoid file ID collisions on guest when using 9pfs (