From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id AD3BB1FF136 for ; Mon, 23 Feb 2026 17:01:16 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 5D17A13338; Mon, 23 Feb 2026 17:01:10 +0100 (CET) From: Markus Frank To: pve-devel@lists.proxmox.com Subject: [PATCH docs v2 6/11] virtiofs: add table for optional parameters Date: Mon, 23 Feb 2026 16:40:03 +0100 Message-ID: <20260223155951.468572-7-m.frank@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260223155951.468572-1-m.frank@proxmox.com> References: <20260223155951.468572-1-m.frank@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1771862420043 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.007 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: XARMQV6IELDLQOQOC3UOXJ5HENPALVCW X-Message-ID-Hash: XARMQV6IELDLQOQOC3UOXJ5HENPALVCW X-MailFrom: m.frank@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Removes redundant explanatory text now covered by the table. Signed-off-by: Markus Frank --- qm.adoc | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/qm.adoc b/qm.adoc index 4843d82..46217a6 100644 --- a/qm.adoc +++ b/qm.adoc @@ -1333,12 +1333,16 @@ xattrs if the underlying host filesystem supports them, but they must also be compatible with the guest filesystem (for example most Linux filesystems support ACLs, while Windows filesystems do not). -The `expose-acl` option automatically implies `expose-xattr`, that is, it makes -no difference if you set `expose-xattr` to `0` if `expose-acl` is set to `1`. - -If you want virtiofs to honor the `O_DIRECT` flag, you can set the `direct-io` -parameter to `1` (default: `0`). This will degrade performance, but is useful if -applications do their own caching. +All Optional Parameters: + +[cols="1,3,1", options="header"] +|=== +|Parameter |Description |Default +|`cache` |Sets caching mode: `always`, `never`, `metadata`, or `auto`. |`auto` +|`expose-acl` |Enables ACL passthrough; implies `expose-xattr`. Supported only on compatible filesystems. |`0` +|`expose-xattr` |Enables xattr passthrough; redundant if `expose-acl` is `1`. |`0` +|`direct-io` |Enables support for the `O_DIRECT` flag. May degrade performance, but is useful if applications perform their own caching. |`0` +|=== ---- qm set -virtiofs0 dirid=,cache=always,direct-io=1 -- 2.47.3