]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
schema: Add virtio-mmio address type into RNG
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 25 Feb 2015 10:23:45 +0000 (11:23 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 25 Feb 2015 10:23:45 +0000 (11:23 +0100)
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@redhat.com>
docs/schemas/domaincommon.rng

index f41ca43434cc7ceab7746a2560fef048bf06a570..6e73e7c13430502ca1f0690595004bac784ac3c7 100644 (file)
           </attribute>
           <ref name="isaaddress"/>
         </group>
+        <group>
+          <attribute name="type">
+            <value>virtio-mmio</value>
+          </attribute>
+        </group>
       </choice>
     </element>
   </define>