|
|
c480ed |
From eb6fef622ded5762649db2d766c1eb3d876859c9 Mon Sep 17 00:00:00 2001
|
|
|
c480ed |
Message-Id: <eb6fef622ded5762649db2d766c1eb3d876859c9@dist-git>
|
|
|
c480ed |
From: Erik Skultety <eskultet@redhat.com>
|
|
|
c480ed |
Date: Mon, 15 Jul 2019 08:52:07 +0200
|
|
|
c480ed |
Subject: [PATCH] docs: schemas: Decouple the virtio options from each other
|
|
|
c480ed |
MIME-Version: 1.0
|
|
|
c480ed |
Content-Type: text/plain; charset=UTF-8
|
|
|
c480ed |
Content-Transfer-Encoding: 8bit
|
|
|
c480ed |
|
|
|
c480ed |
Currently, all of the VirtioOptions are under a single <optional>
|
|
|
c480ed |
element, however, neither our parser/formatter or QEMU driver requires
|
|
|
c480ed |
the presence of all the options if only a single one from the set has
|
|
|
c480ed |
been specified, so fix it and silence the schema validator.
|
|
|
c480ed |
|
|
|
c480ed |
Signed-off-by: Erik Skultety <eskultet@redhat.com>
|
|
|
c480ed |
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
|
c480ed |
(cherry picked from commit 87b4e1cd7e7ec23dc69c8082948cd3bb49e18ff3)
|
|
|
c480ed |
|
|
|
c480ed |
https://bugzilla.redhat.com/show_bug.cgi?id=1729675
|
|
|
c480ed |
|
|
|
c480ed |
Signed-off-by: Erik Skultety <eskultet@redhat.com>
|
|
|
c480ed |
Message-Id: <9d20b6d62248ef82a42128c461ef8c94cbc64e09.1563173480.git.eskultet@redhat.com>
|
|
|
c480ed |
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
|
|
|
c480ed |
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
|
c480ed |
---
|
|
|
c480ed |
docs/schemas/domaincommon.rng | 2 ++
|
|
|
c480ed |
1 file changed, 2 insertions(+)
|
|
|
c480ed |
|
|
|
c480ed |
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
|
|
|
c480ed |
index 2b6d4dced6..7d37caa246 100644
|
|
|
c480ed |
--- a/docs/schemas/domaincommon.rng
|
|
|
c480ed |
+++ b/docs/schemas/domaincommon.rng
|
|
|
c480ed |
@@ -5417,6 +5417,8 @@
|
|
|
c480ed |
<attribute name="iommu">
|
|
|
c480ed |
<ref name="virOnOff"/>
|
|
|
c480ed |
</attribute>
|
|
|
c480ed |
+ </optional>
|
|
|
c480ed |
+ <optional>
|
|
|
c480ed |
<attribute name="ats">
|
|
|
c480ed |
<ref name="virOnOff"/>
|
|
|
c480ed |
</attribute>
|
|
|
c480ed |
--
|
|
|
c480ed |
2.22.0
|
|
|
c480ed |
|