]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Relax the allowed values for machine type in schema
authorDaniel Veillard <veillard@redhat.com>
Mon, 14 Dec 2009 15:59:06 +0000 (16:59 +0100)
committerDaniel Veillard <veillard@redhat.com>
Mon, 14 Dec 2009 15:59:06 +0000 (16:59 +0100)
* docs/schemas/domain.rng: don't try to validate based on a list, open
  up the machine type to a regexp allowing a-z A-Z 0-9 _ - and .

docs/schemas/domain.rng

index d1d3efbaa9cadfb4c439f2acf4130d126dc177d8..784f9b1a55b2facf7bc222d7ba046ebc31e487d8 100644 (file)
       </optional>
       <optional>
         <attribute name="machine">
-          <choice>
-            <value>xenfv</value>
-            <value>pc</value>
-            <value>isapc</value>
-          </choice>
+          <data type="string">
+            <param name="pattern">[a-zA-Z0-9_\.\-]+</param>
+          </data>
         </attribute>
-        </optional>
+      </optional>
     </group>
   </define>
   <define name="hvmmips">