From: Ján Tomko <jto...@redhat.com>

The combination of locking + readonly is bogus, because there has never
been a virtiofsd release that supported both.

Locking was a feature of the C-based virtiofsd that was living in the
QEMU tree until v8.0.0 and the readonly feature was only introduced
in the Rust version of virtiofsd.

Signed-off-by: Ján Tomko <jto...@redhat.com>
---
 tests/qemuxmlconfdata/vhost-user-fs-readonly.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/qemuxmlconfdata/vhost-user-fs-readonly.xml 
b/tests/qemuxmlconfdata/vhost-user-fs-readonly.xml
index c9c1e5c3d2..89a6616eec 100644
--- a/tests/qemuxmlconfdata/vhost-user-fs-readonly.xml
+++ b/tests/qemuxmlconfdata/vhost-user-fs-readonly.xml
@@ -30,7 +30,6 @@
       <driver type='virtiofs' queue='1024'/>
       <binary path='/usr/libexec/virtiofsd' xattr='on'>
         <cache mode='always'/>
-        <lock posix='off' flock='off'/>
       </binary>
       <source dir='/path'/>
       <target dir='mount_tag'/>
-- 
2.50.1

Reply via email to