[PATCH 0/3] schemas: Allow <filesystem/> to have interleaved children

Michal Privoznik mprivozn at redhat.com
Wed Jan 6 12:00:21 UTC 2021

Tested with the following change:

diff --git a/tests/qemuxml2argvdata/vhost-user-fs-fd-memory.xml b/tests/qemuxml2argvdata/vhost-user-fs-fd-memory.xml
index f6bb663e97..875e2316a0 100644
--- a/tests/qemuxml2argvdata/vhost-user-fs-fd-memory.xml
+++ b/tests/qemuxml2argvdata/vhost-user-fs-fd-memory.xml
@@ -27,13 +27,13 @@
     <controller type='usb' index='0' model='none'/>
     <controller type='pci' index='0' model='pci-root'/>
     <filesystem type='mount' accessmode='passthrough'>
-      <driver type='virtiofs' queue='1024'/>
+      <target dir='mount_tag'/>
+      <source dir='/path'/>
       <binary path='/usr/libexec/virtiofsd' xattr='on'>
         <cache mode='always'/>
         <lock posix='off' flock='off'/>
-      <source dir='/path'/>
-      <target dir='mount_tag'/>
+      <driver type='virtiofs' queue='1024'/>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
     <input type='mouse' bus='ps2'/>

Michal Prívozník (3):
  schemas: Allow fsDriver to be interleaved
  schemas: Allow interleaving of fsBinary children
  schemas: Allow direct children of <filesystem/> to be interleaved

 docs/schemas/domaincommon.rng | 400 +++++++++++++++++-----------------
 1 file changed, 202 insertions(+), 198 deletions(-)


More information about the libvir-list mailing list