Sharing Files with VMs using virtiofs

virtiofs is a relatively new protocol that allows virtual machines to read and write files directly from the host, and replaces the older 9pfs protocol. It is supported in both Debian 11+ and Ubuntu 22.04+. This guide explains the setup of a virtiofs share. Host Configuration Some distributions (e.