<div dir="ltr"><br>Hello everyone.<div><br></div><div>It's been a while now, I am trying to use virtio-fs. Everything I do end up with an error.</div><div><br></div><div>First I was on fedora 31 and I tried to run manually qemu with virtio-fs  <a href="https://virtio-fs.gitlab.io/howto-qemu.html">https://virtio-fs.gitlab.io/howto-qemu.html</a>. But I was not able to "make virtiofsd".</div><div><br></div><div>Then, I upgraded to fedora 32 which has virtiofsd at /usr/libexec. I <br>followed the steps describe at <br><a href="https://libvirt.org/kbase/virtiofs.html">https://libvirt.org/kbase/virtiofs.html</a><br></div>I could not modify the XML domain of my VM. The error message is "<b>unsupported configuration: unknown fs virtiofs » driver type".</b><div><br></div><div>I wrote to Stefan Hajnoczi <span style="color:rgb(85,85,85);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"><</span><span style="color:rgb(85,85,85);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"><a href="mailto:stefanha@redhat.com">stefanha@redhat.com</a></span><span style="color:rgb(85,85,85);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">> </span>describing this problem. He answers with the following:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Boris,<br>You can pass command-line options to the guest like this:<br><br>  <domain type='kvm' xmlns:qemu='<a href="http://libvirt.org/schemas/domain/qemu/1.0" rel="noreferrer" target="_blank">http://libvirt.org/schemas/domain/qemu/1.0</a>'><br>    ...<br>    <qemu:commandline><br>      <qemu:arg value='-chardev'/><br>      <qemu:arg value='socket,id=char0,path=/tmp/vhost-fs.sock'/><br>      <qemu:arg value='-device'/><br>      <qemu:arg value='vhost-user-fs-pci,chardev=virtio-fs-chardev,tag=myfs'/><br>    </qemu:commandline><br>  </domain><br><br>Note that the xmlns in the <domain> tag is required.<br><br>If you pass these options manually then you need to launch virtiofsd<br>yourself before launching the guest:<br><br>  # /usr/libexec/virtiofsd --socket-path=/tmp/vhost-fs.sock -o source=/path/to/share/dir -o no_posix_lock -o xattr<br><br>Hope this helps! Please email <a href="mailto:virtio-fs@redhat.com" target="_blank">virtio-fs@redhat.com</a> if you have any more<br>questions, it's the virtio-fs mailing list and others will be able to<br>participate in the discussion.<br></blockquote><div><br></div><div>I am still getting the same error after applying the change above.</div><div><br></div><div>Can anyone help me with this ? Thank you in advance for your help. </div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/26bf117ffcb75054c178a50055ed99544744ea3a.png?u=4017047"></div>