On 02/03/2016 03:25 PM, Andrea Bolognani wrote:
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.
---
docs/schemas/domaincommon.rng | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 5deb17b..67af93a 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -4154,7 +4154,11 @@
<element name="gic">
<optional>
Ahhh... even more fuel to make 'host' the default... The 'version'
string is optional...
John
<attribute name="version">
- <ref name="positiveInteger"/>
+ <choice>
+ <value>host</value>
+ <value>2</value>
+ <value>3</value>
+ </choice>
</attribute>
</optional>
</element>