mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05: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:
1 parent
e76bef7f7b
commit
2a7b11eafb
1 file changed
+5
-1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user