summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2009-12-14 16:59:06 +0100
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-12-14 17:33:39 +0100
commitb967327824994dc89361c4475d7e3cac76a37865 (patch)
tree5d7f9f0f7d3997a032f442bf77c68c9e32bb5d84
parentSmall change of RNG syntax for domain (diff)
downloadlibvirt-v0.7.4-gentoo.tar.gz
libvirt-v0.7.4-gentoo.tar.bz2
libvirt-v0.7.4-gentoo.zip
Relax the allowed values for machine type in schemav0.7.4-gentoo-2v0.7.4-gentoo
* 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 .
-rw-r--r--docs/schemas/domain.rng10
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng
index 5f385000e..4bbbd499a 100644
--- a/docs/schemas/domain.rng
+++ b/docs/schemas/domain.rng
@@ -167,13 +167,11 @@
</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">