Libvirt driver "path" incorrectly translates readonly attribute to qemu parameters
<!--See https://libvirt.org/bugs.html#how-to-file-high-quality-bug-reports--> ## Software environment - Operating system: Arch - Architecture: x86_x64 - kernel version: 6.19.9 - libvirt version: 12.1.0 ## Description of problem Following documentation https://libvirt.org/formatdomain.html there is a following example snippet on how to share a directory with guest: \<filesystem type='mount'\> \<driver type='path'/\> \<source dir='/export/to/guest'/\> \<target dir='/import/from/host'/\> \<readonly/\> \</filesystem\> This snippet specifies \<readonly/\> tag. When used, I am unable to start my guest machine with qemu error stating that readonly boolean option is deprecated, and I should use readonly=on. This is due to the fact that libvirt translates above XML into qemu command line parameter like -fsdev path=/home/test/testdir,readonly \<- and qemu seems to expect something like -fsdev path=/home/test/testdir,readonly=on (I guess? Based on the error message) ## Steps to reproduce 1. Download latest libvirt/qemu stack 2. Define a VM with filesystem share, XML shown above 3. Ensure you have readonly tag AND "path" driver as this combination is critical for reproduction. 4. Start your VM - you will get a QEMU error as described
issue