Hi,
I have a VM with a virtiofs filesystem attached, my xml config contains following entries, so according to virtiofs doc everything should work, and it worked without a problem for some time
...
<memoryBacking>
<source type="memfd"/>
<access mode="shared"/>
</memoryBacking>
...
<filesystem type="mount" accessmode="passthrough">
<driver type="virtiofs"/>
<source dir="/srv"/>
<target dir="/srv"/>
<address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</filesystem>
But after host reboot (I’ve changed some zfs module options and decided to restart the system) I’m unable to run my VM anymore.
A attempt to start the domain fails with error
libvirt.libvirtError: operation failed: Unable to find a satisfying virtiofsd
Also there is no “virtiofsd” file in the system, so I am unable to start a standalone virtiofs service, did anyone have similar problems on clearlinux?
my current CL version is 40580
//// EDIT
After download a fresh version of virtiofsd from virtio-fs / virtiofsd · GitLab and running it manually on my host and changing .xml entry to
<filesystem type="mount" accessmode="passthrough">
<driver type="virtiofs"/>
<source socket="/run/virtiofs-srv.socket"/>
<target dir="/srv"/>
</filesystem>
I was able to run my VM, but sadly it feels like a bug in qemu package maybe?