mirror of https://gitee.com/openkylin/libvirt.git
Relax the allowed values for machine type in schema
* 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 .
This commit is contained in:
parent
21a2eba44f
commit
803d320430
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue