aboutsummaryrefslogtreecommitdiff
path: root/kvmxfile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-02 17:40:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-02 17:40:02 -0300
commitf0ef5021f8c78e10f6667c4cdcee57bf0e550f50 (patch)
tree83750f32bd26a22f7c78c3ec3f49bf902ddbbaca /kvmxfile
parent85c1d9c4ad3bca29db4abd51b0bcdca6df72ebcf (diff)
downloadkvmx-f0ef5021f8c78e10f6667c4cdcee57bf0e550f50.tar.gz
kvmx-f0ef5021f8c78e10f6667c4cdcee57bf0e550f50.tar.bz2
Fix: increase default msize for 9p mounts to 32MiB depending on kernel support
Diffstat (limited to 'kvmxfile')
-rw-r--r--kvmxfile12
1 files changed, 10 insertions, 2 deletions
diff --git a/kvmxfile b/kvmxfile
index 0ecfbab..af2b0d8 100644
--- a/kvmxfile
+++ b/kvmxfile
@@ -52,8 +52,16 @@ net="user"
# https://github.com/clearcontainers/hyperstart/pull/25
# https://issues.guix.gnu.org/47225
#
-# Example: 4194304 bytes = 4MiB
-#shared_folders_msize="4194304"
+# Examples: 4194304 bytes = 4MiB
+# 16777216 bytes = 16MiB
+# 33554432 bytes = 32MiB
+#
+# Depending on upstream support (kernel and virtio), the underlying drivers may
+# cap this to a max, and give you the following message:
+#
+# 9pnet: Limiting 'msize' to 512000 as this is the maximum supported by transport virtio
+#
+#shared_folders_msize="33554432"
# Shared folders caching
# See https://www.kernel.org/doc/Documentation/filesystems/9p.txt