Hi,
I tried to share a folder between linux host and linux vm following
https://wiki.qemu.org/Documentation/9psetup,
however the last mount command is failing (on two different distros) with the following error
sudo mount -t 9p -o trans=virtio shared /tmp/shared -oversion=9p2000.L
mount: /tmp/shared: special device shared does not exist
here is the qemu comand that I use
qemu-system-x86_64 \
-pidfile /tmp/qemu.pid \
-enable-kvm -m 4G -smp 4 -cpu host \
-drive file=ubuntu-22.04/ubuntu-22.04.img,if=virtio \
-vga qxl -spice port=5900,addr=127.0.0.1,disable-ticketing=on \
-device virtio-serial-pci \
-device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 -chardev spicevmc,id=spicechannel0,name=vdagent \
-device qemu-xhci,id=spicepass -chardev spicevmc,id=usbredirchardev1,name=usbredir \
-device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 -chardev spicevmc,id=usbredirchardev2,name=usbredir \
-device usb-redir,chardev=usbredirchardev2,id=usbredirdev2 -chardev spicevmc,id=usbredirchardev3,name=usbredir \
-device usb-redir,chardev=usbredirchardev3,id=usbredirdev3 \
-virtfs local,path=/home/carlo/Public,mount_tag=shared,security_model=mapped-xattr
any help is welcome