From f0ef5021f8c78e10f6667c4cdcee57bf0e550f50 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 2 Jul 2024 17:40:02 -0300 Subject: Fix: increase default msize for 9p mounts to 32MiB depending on kernel support --- kvmxfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'kvmxfile') 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 -- cgit v1.2.3