Don't validata filesystem target type

When using QEMU's 9pfs the target "dir" element is not necessarily an
absolute path but merely an arbitrary identifier. So validation in that
case currently fails with the misleading

   $ virt-xml-validate /tmp/test.xml
   Relax-NG validity error : Extra element devices in interleave
   /tmp/test.xml:24: element devices: Relax-NG validity error : Element domain failed to validate content
   /tmp/test.xml fails to validate
This commit is contained in:
Guido Günther 2015-03-21 11:37:12 +01:00
parent a98129c0ee
commit db1edae895

View File

@ -2017,9 +2017,7 @@
</choice>
<interleave>
<element name="target">
<attribute name="dir">
<ref name="absDirPath"/>
</attribute>
<attribute name="dir"/>
<empty/>
</element>
<optional>