<div dir="ltr"><div>I can't seem to start a VM with virtiofs. Everything is running as root (unraid) with a pretty simple setup:</div><div><br></div><div><filesystem type='mount' accessmode='passthrough'><br>    <driver type='virtiofs'/><br>    <binary path='/usr/libexec/virtiofsd' /><br>    <source dir='/mnt/user/shared'/><br>    <target dir='shared_mount'/><br></filesystem></div><div><br></div><div>Even with debug logging at max, all I get in the main log is:</div><div><br></div><div>qemu-system-x86_64: -device vhost-user-fs-pci,chardev=chr-vu-fs0,tag=shared_mount,bus=pci.5,addr=0x0: Failed to write msg. Wrote -1 instead of 12.<br>qemu-system-x86_64: -device vhost-user-fs-pci,chardev=chr-vu-fs0,tag=shared_mount,bus=pci.5,addr=0x0: vhost_dev_init failed: Operation not permitted<br>shutting down, reason=failed</div><div><br></div><div>And in the fsd log:</div><div><br>[ID: 00029648] virtio_session_mount: Waiting for vhost-user socket connection...<br>[ID: 00029648] virtio_session_mount: Received vhost-user socket connection<br>[ID: 00000001] pivot_root(., .): Invalid argument</div><div><br></div><div>Nothing else in any other logs (e.g. dmesg). What do these errors mean? How do I troubleshoot this?<br></div></div>