schema: List allowed GIC versions

This change allows to use "host" as a GIC version in the domain XML.

Since we'll need to update the virGICVersion enumeration to support
new GIC versions anyway, it makes sense to be a bit more strict in
the schema as well and reject values that are not in the enumeration.
This commit is contained in:
Andrea Bolognani 2016-02-03 14:34:32 +01:00
parent e76bef7f7b
commit 2a7b11eafb

View File

@ -4154,7 +4154,11 @@
<element name="gic">
<optional>
<attribute name="version">
<ref name="positiveInteger"/>
<choice>
<value>host</value>
<value>2</value>
<value>3</value>
</choice>
</attribute>
</optional>
</element>