[libvirt] [PATCH for 1.2.13] schema: Add virtio-mmio address type into RNG

Martin Kletzander mkletzan at redhat.com
Wed Feb 25 10:30:51 UTC 2015


The "virtio-mmio" is perfectly valid address type which we parse and
format correctly, but it's missing in our RNG schemas, hence editing a
domain with device having such address fails the validation.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 docs/schemas/domaincommon.rng | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index f41ca43..6e73e7c 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -4415,6 +4415,11 @@
           </attribute>
           <ref name="isaaddress"/>
         </group>
+        <group>
+          <attribute name="type">
+            <value>virtio-mmio</value>
+          </attribute>
+        </group>
       </choice>
     </element>
   </define>
-- 
2.3.0




More information about the libvir-list mailing list