mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-26 15:14:42 +00:00
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 (cherry picked from commit db1edae8951dab99232fba4b33c28f5d412ecb41)
This commit is contained in:
parent
6fee5eaa53
commit
a5ebbe9ccf
@ -2007,9 +2007,7 @@
|
||||
</choice>
|
||||
<interleave>
|
||||
<element name="target">
|
||||
<attribute name="dir">
|
||||
<ref name="absDirPath"/>
|
||||
</attribute>
|
||||
<attribute name="dir"/>
|
||||
<empty/>
|
||||
</element>
|
||||
<optional>
|
||||
|
Loading…
x
Reference in New Issue
Block a user