diff options
author | Daniel Veillard <veillard@redhat.com> | 2009-12-14 16:59:06 +0100 |
---|---|---|
committer | Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2009-12-14 17:33:39 +0100 |
commit | b967327824994dc89361c4475d7e3cac76a37865 (patch) | |
tree | 5d7f9f0f7d3997a032f442bf77c68c9e32bb5d84 | |
parent | Small change of RNG syntax for domain (diff) | |
download | libvirt-0.7.4-gentoo-2.tar.gz libvirt-0.7.4-gentoo-2.tar.bz2 libvirt-0.7.4-gentoo-2.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.rng | 10 |
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"> |