[libvirt] [PATCH] docs: schemas: Decouple the virtio options from each other
Erik Skultety
eskultet at redhat.com
Fri Jan 4 09:43:48 UTC 2019
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 at redhat.com>
---
docs/schemas/domaincommon.rng | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 6518aff73a..aa50eac424 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -5498,6 +5498,8 @@
<attribute name="iommu">
<ref name="virOnOff"/>
</attribute>
+ </optional>
+ <optional>
<attribute name="ats">
<ref name="virOnOff"/>
</attribute>
--
2.20.1
More information about the libvir-list
mailing list