- Make sure VirtFS is checked in the "Sharing" tab in UTM as shown in the screenshot below.
- 9p and virtio kernel modules should be enabled
lsmod| grep 9p
lsmod|grep virtio
If not, then edit kernel modules and add them
sudo vi /etc/initramfs-tools/modules
virtio_pci
virtio_blk
virtio_net
9pnet_virtio
Run sudo update-initramfs -u
and reboot!
- And then run
mount -t 9p -o trans=virtio share [mount point] -oversion=9p2000.L
to mount the shared directory at the mount point.