[libvirt] [PATCH] docs: schemas: Decouple the virtio options from each other

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> --- 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

On Fri, Jan 04, 2019 at 10:43:48AM +0100, Erik Skultety wrote:
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> --- docs/schemas/domaincommon.rng | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano
participants (2)
-
Erik Skultety
-
Ján Tomko