]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
S390: Domain Schema for s390-virtio machines.
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Fri, 29 Jun 2012 15:02:06 +0000 (17:02 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 11 Jul 2012 09:19:05 +0000 (11:19 +0200)
Added s390-virtio machine type to the XML schema for domains in order
to not fail the domain schema tests.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
docs/schemas/domaincommon.rng

index 3d205b09ee6e597dc495ecd19cefbb26874b3d09..b7562adffde8dc64d3b0b30ce5c7c1c36008b8d5 100644 (file)
           <ref name="hvmsparc"/>
           <ref name="hvmppc"/>
           <ref name="hvmppc64"/>
+          <ref name="hvms390"/>
         </choice>
       </optional>
       <value>hvm</value>
       </optional>
     </group>
   </define>
+  <define name="hvms390">
+    <group>
+      <optional>
+        <attribute name="arch">
+          <choice>
+            <value>s390</value>
+            <value>s390x</value>
+          </choice>
+        </attribute>
+      </optional>
+      <optional>
+        <attribute name="machine">
+          <choice>
+            <value>s390-virtio</value>
+          </choice>
+        </attribute>
+      </optional>
+    </group>
+  </define>
   <define name="osexe">
     <element name="os">
       <element name="type">