diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-24 09:05:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-24 09:05:19 -0300 |
commit | e386082b6ac5ab0e81b9d6b199d320938445f9b1 (patch) | |
tree | 1007488160937ff6654a7d9208e5c4b627f98ae4 /kvmxfile | |
parent | a1e8b1d9b7c9564ba1307136915569525a05a7bc (diff) | |
download | kvmx-e386082b6ac5ab0e81b9d6b199d320938445f9b1.tar.gz kvmx-e386082b6ac5ab0e81b9d6b199d320938445f9b1.tar.bz2 |
Feat: Per-mountpoint mode option (ro, rw)
Diffstat (limited to 'kvmxfile')
-rw-r--r-- | kvmxfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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/ |