Re:VirtualBox 7.0.10 download links have disappeared
by palinkapika on Monday July 24, 2023 @07:01AM
(#36845869)
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
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.
How easy is it to setup directory sharing? Reading https://docs.getutm.app/guest-support/sharing/directory... seems a bit more difficult than VirtualBox
My use case is relatively simple: build some tiny OSes (into ISO image) on Linux VM, then run the ISO on macOS's qemu