In UTM there is a notion of a shared directory. I can select any directory I want and it's shared with the guest operating system. How do I access that data?
In order to access the shared directory you'll have to make sure you kernel is built with
9pnet_virtio you can use this command to confirm the module is there,
sudo modinfo 9pnet_virtio
Then you can run
sudo mount -t 9p -o trans=virtio share /tmp/host_files
Or you can add this in fstab for persistance upon reboot.
share /tmp/host_files 9p trans=virtio,rw,nofail 0 0