aboutsummaryrefslogtreecommitdiff
path: root/kvmxfile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-24 09:05:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-24 09:05:19 -0300
commite386082b6ac5ab0e81b9d6b199d320938445f9b1 (patch)
tree1007488160937ff6654a7d9208e5c4b627f98ae4 /kvmxfile
parenta1e8b1d9b7c9564ba1307136915569525a05a7bc (diff)
downloadkvmx-e386082b6ac5ab0e81b9d6b199d320938445f9b1.tar.gz
kvmx-e386082b6ac5ab0e81b9d6b199d320938445f9b1.tar.bz2
Feat: Per-mountpoint mode option (ro, rw)
Diffstat (limited to 'kvmxfile')
-rw-r--r--kvmxfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/kvmxfile b/kvmxfile
index d6bca39..4b96346 100644
--- a/kvmxfile
+++ b/kvmxfile
@@ -40,8 +40,10 @@ net="user"
# Set this is you want to be able to share multiple folders between host and guest using 9p.
# Needs ssh_support set to "y" and a workable SSH connection to the guest.
-# Format: <id1>:<host-folder1>:<guest-mountpoint1>,<id2>:<host-folder2>:<guest-mountpoint2>[,...]
+# Mode defaults to "rw"; set to "ro" to ensure volume is shared and mounted read-only.
+# Format: <id1>:<host-folder1>:<guest-mountpoint1>[:mode1],<id2>:<host-folder2>:<guest-mountpoint2>[:mode2][,...]
#shared_folders="shared1:.:/home/$user/code/$VM,shared2:$HOME/.local/share/app:/home/$user/.local/share/app"
+#shared_folders="shared1:.:/home/$user/code/$VM,shared2:ro:$HOME/.local/share/app:/home/$user/.local/share/app:rw"
# 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/