]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: qemuxmlconf: adjust test case to new virtiofsd
authorJán Tomko <jtomko@redhat.com>
Thu, 4 Jul 2024 13:54:27 +0000 (15:54 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 10 Jul 2024 10:32:23 +0000 (12:32 +0200)
Now that we have a fake virtiofsd json descriptor in our vhost-user
test data, we can remove the explicitly specified binary and our
mocking will ensure this test won't be affected by the host state.

Also remove the locking options, since they were never supported
by the Rust version of virtiofsd.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemuxmlconfdata/vhost-user-fs-fd-memory.xml

index 1d0bc26c46244d5a2cf3a30c0182c266b663908d..b0b1b4408120e8987754a1d4535b5417bc9380ad 100644 (file)
     <controller type='pci' index='0' model='pci-root'/>
     <filesystem type='mount' accessmode='passthrough'>
       <driver type='virtiofs' queue='1024'/>
-      <binary path='/usr/libexec/virtiofsd' xattr='on'>
+      <binary xattr='on'>
         <cache mode='always'/>
         <sandbox mode='chroot'/>
-        <lock posix='off' flock='off'/>
         <thread_pool size='16'/>
       </binary>
       <idmap>