aboutsummaryrefslogtreecommitdiff
path: root/kvmxfile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-02 15:18:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-02 15:18:20 -0300
commit85c1d9c4ad3bca29db4abd51b0bcdca6df72ebcf (patch)
tree58bc7ae19d1b1f5a87abc7f32da1afd629a388b7 /kvmxfile
parent99471a34388d57131e144ad32f63d868e5217fe7 (diff)
downloadkvmx-85c1d9c4ad3bca29db4abd51b0bcdca6df72ebcf.tar.gz
kvmx-85c1d9c4ad3bca29db4abd51b0bcdca6df72ebcf.tar.bz2
Feat: Increase default msize for 9p mounts to 4MiB
Diffstat (limited to 'kvmxfile')
-rw-r--r--kvmxfile13
1 files changed, 10 insertions, 3 deletions
diff --git a/kvmxfile b/kvmxfile
index 2ce7ee0..0ecfbab 100644
--- a/kvmxfile
+++ b/kvmxfile
@@ -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