3 ms·
UTM uses VirtioFS with Apple's virtualisation backend. Works out of the box with my Ubuntu server guests. You still need to mount the share as described here, b
by palinkapika 3y ago
UTM uses VirtioFS with Apple's virtualisation backend. Works out of the box with my Ubuntu server guests. You still need to mount the share as described here, but that's it: https://docs.getutm.app/guest-support/linux/#macos-virtiofs https://docs.getutm.app/guest-support/linux/#macos-virtiofs
What took me a bit to figure out is that this does not mount a single folder, but a virtual parent folder to which you can add and remove directories without changing the mount. This even works while the VM is running.
For example, mounting
share /mnt/host virtiofs rw,nofail 0 0
in the guest and then sharing
~/Downloads
in UTM will share the Downloads folder as
/mnt/host/Downloads
When using the QEMU backend, VirtFS is used instead, which does not use such a parent folder and requires restarting the VM to change shares iirc.