]> xenbits.xensource.com Git - libvirt.git/commitdiff
schema: properly set tap and vhost backend attributes optional
authorJianwei Hu <jiahu@redhat.com>
Mon, 22 Sep 2014 13:46:29 +0000 (21:46 +0800)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 22 Sep 2014 14:54:26 +0000 (16:54 +0200)
Each attribute is optional, commit af8b4a2 forgot to mention that.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
docs/schemas/domaincommon.rng

index 36bc184cc37a62490a52c30b9420fb723e930fd7..b6b309d8383b672c9bad5e1fdb6ebaf55fb9be84 100644 (file)
       </optional>
       <optional>
         <element name="backend">
+          <optional>
            <attribute name='tap'>
              <ref name='absFilePath'/>
            </attribute>
+          </optional>
+          <optional>
            <attribute name='vhost'>
              <ref name='absFilePath'/>
            </attribute>
+          </optional>
         </element>
       </optional>
       <optional>