I'm trying to get a shared folder between my Debian 9 host and Cents OS 7 guest with KVM/QEMU.
I've tried many tutorials which uses 9p filesystem type but my guest return "Unknown filesystem type 9p" (like this one : How to set up shared folders in virt-manager
An other method is supposed to mount into the guest the host folder. But it doesn't work. From the libvirt documentation :
<filesystem type='mount' accessmode='passthrough'> <driver type='path' wrpolicy='immediate'/> <source dir='/export/to/guest'/> <target dir='/import/from/host'/> <readonly/> </filesystem> <filesystem type='file' accessmode='passthrough'> <driver name='loop' type='raw'/> <driver type='path' wrpolicy='immediate'/> <source file='/export/to/guest.img'/> <target dir='/import/from/host'/> <readonly/> </filesystem>
Now, does someone know how to have a working shared folder between my host and guest ?