mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-08-30 05:50:08 +03:00
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:
@ -4154,7 +4154,11 @@
|
|||||||
<element name="gic">
|
<element name="gic">
|
||||||
<optional>
|
<optional>
|
||||||
<attribute name="version">
|
<attribute name="version">
|
||||||
<ref name="positiveInteger"/>
|
<choice>
|
||||||
|
<value>host</value>
|
||||||
|
<value>2</value>
|
||||||
|
<value>3</value>
|
||||||
|
</choice>
|
||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
</optional>
|
||||||
</element>
|
</element>
|
||||||
|
Reference in New Issue
Block a user