diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-02 15:18:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-02 15:18:20 -0300 |
commit | 85c1d9c4ad3bca29db4abd51b0bcdca6df72ebcf (patch) | |
tree | 58bc7ae19d1b1f5a87abc7f32da1afd629a388b7 | |
parent | 99471a34388d57131e144ad32f63d868e5217fe7 (diff) | |
download | kvmx-85c1d9c4ad3bca29db4abd51b0bcdca6df72ebcf.tar.gz kvmx-85c1d9c4ad3bca29db4abd51b0bcdca6df72ebcf.tar.bz2 |
Feat: Increase default msize for 9p mounts to 4MiB
-rw-r--r-- | ChangeLog.md | 4 | ||||
-rwxr-xr-x | kvmx | 2 | ||||
-rw-r--r-- | kvmxfile | 13 |
3 files changed, 14 insertions, 5 deletions
diff --git a/ChangeLog.md b/ChangeLog.md index 4e6c394..490d1f2 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,8 @@ # ChangeLog -## 0.1.1 - unreleased +## 0.1.1 - 2024-07-02 + +* Increase default `msize` for 9p mounts to 4MiB. * 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="524288" + shared_folders_msize="4194304" fi if [ -z "$shared_folders_cache" ]; then @@ -43,10 +43,17 @@ net="user" # Format: <id1>:<host-folder1>:<guest-mountpoint1>,<id2>:<host-folder2>:<guest-mountpoint2>[,...] #shared_folders="shared1:.:/home/$user/code/$VM,shared2:$HOME/.local/share/app:/home/$user/.local/share/app" -# Maximum packet size including any headers for shared folders using 9p -# See https://forums.lime-technology.com/topic/34691-9p-sharing-speed-not-what-i-expected/ +# Maximum packet size in bytex including any headers for shared folders using 9p +# In the past this was limited to 500kB: https://lwn.net/Articles/901523/ +# +# See https://wiki.qemu.org/Documentation/9psetup +# https://wiki.qemu.org/Documentation/9p +# https://www.kernel.org/doc/html/latest/filesystems/9p.html # https://github.com/clearcontainers/hyperstart/pull/25 -#shared_folders_msize="524288" +# https://issues.guix.gnu.org/47225 +# +# Example: 4194304 bytes = 4MiB +#shared_folders_msize="4194304" # Shared folders caching # See https://www.kernel.org/doc/Documentation/filesystems/9p.txt |