]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't validata filesystem target type
authorGuido Günther <agx@sigxcpu.org>
Sat, 21 Mar 2015 10:37:12 +0000 (11:37 +0100)
committerCole Robinson <crobinso@redhat.com>
Tue, 28 Apr 2015 15:06:43 +0000 (11:06 -0400)
commita5ebbe9ccfdb8b1559e47c5d72f6ab4df4fe963f
tree8d44db39295464fb18fc1ff248bc9d4e80f1e6de
parent6fee5eaa53ab48515b0f1a5dea194329b802ab0d
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)
docs/schemas/domaincommon.rng