Bugzilla – Bug 1212942
Unable to start VM virtiofsd died unexpectedly
Last modified: 2023-07-03 14:12:34 UTC
Created attachment 867938 [details] libvirt guest VM xml file Hello, I am currently stuck with TW 20230518 because even the most recent snapshots do not allow me to start my VMs. Each attempt to start a VM fails with the following error message: "virtiofsd died unexpectedly". It seems that some changes made from TW 20230530 onwards are at the root of the problem. Unfortunately, I can't be more precise as I wasn't able to track snapshot updates from TW 20230520 to TW 20230628, but changes made amongst qemu, libvirt, virtiofsd, between these two snapshots are probably the root of the problem. Last snapshot tried (TW 20230629) did not solve the issue. Attached is the XML file of a virtual machine affected by the problem. I will provide a libvirt log later. Thanks for your attention.
The culprit is virtiofsd-rs (rust version) that replace the C version coming with QEMU till QEMU 8 but does not (yet) support posix lock (see: https://gitlab.com/virtio-fs/virtiofsd/-/issues/53). For now, removing the <lock posix='on' flock='on'/> option from the XML file of the virtual machine solves the probleme. Sorry for the noise.