diff options
-rw-r--r-- | ChangeLog.md | 4 | ||||
-rwxr-xr-x | kvmx | 2 | ||||
-rw-r--r-- | kvmxfile | 12 |
3 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog.md b/ChangeLog.md index 490d1f2..0cd4080 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,7 +2,9 @@ ## 0.1.1 - 2024-07-02 -* Increase default `msize` for 9p mounts to 4MiB. +* Increase default `msize` for 9p mounts to 32MiB depending on kernel support, + which may only be effective depending on `trans_virtio` driver support for + sizes larger than 500kB. * QEMU parameter updates: * Update `nowait` to `wait=off`. @@ -461,7 +461,7 @@ function kvmx_up { fi if [ -z "$shared_folder_msize" ]; then - shared_folders_msize="4194304" + shared_folders_msize="33554432" fi if [ -z "$shared_folders_cache" ]; then @@ -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 |