QEMU/KVM: virtiofs causing major freeze problem

I’m trying to find from where virtiofsd is actually started but cannot find it. I can see that it’s running:

root       4102  0.0  0.0   6552  3960 ?        S    21:00   0:00 /usr/libexec/virtiofsd --fd=30 -o source=/data
root       4107  0.1  2.3 6433080 756252 ?      Sl   21:00   0:05 /usr/libexec/virtiofsd --fd=30 -o source=/data

I would like to add additional parameters (–cache never --inode-file-handles=mandatory) to test out if they help.

@paju-21 likley in the vm somewhere (I don’t use), check the xml with virt-manager or virsh.

I did it using a wrapper script: virtiofs mount hangs in guest after Fedora 39 upgrade (#133) · Issues · virtio-fs / virtiofsd · GitLab. I wasn’t using OpenSUSE, but I don’t think it would be any different there.

I have not had any luck with any of the virtiofsd options though. Still got freezes with --cache never --inode-file-handles=mandatory. I ended up going back to the old qemu-virtiofsd (compiled from source).