]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: schemas: Decouple the virtio options from each other
authorErik Skultety <eskultet@redhat.com>
Fri, 4 Jan 2019 09:40:48 +0000 (10:40 +0100)
committerErik Skultety <eskultet@redhat.com>
Fri, 4 Jan 2019 13:54:47 +0000 (14:54 +0100)
Currently, all of the VirtioOptions are under a single <optional>
element, however, neither our parser/formatter or QEMU driver requires
the presence of all the options if only a single one from the set has
been specified, so fix it and silence the schema validator.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/schemas/domaincommon.rng

index 6518aff73aa22525f20c675461e8a84075078dc0..aa50eac424711d00f4536d403ae850c23bfbb47d 100644 (file)
       <attribute name="iommu">
         <ref name="virOnOff"/>
       </attribute>
+    </optional>
+    <optional>
       <attribute name="ats">
         <ref name="virOnOff"/>
       </attribute>