diff options
Diffstat (limited to 'src/main/resources/libvirt/rng/capability.rng')
-rw-r--r-- | src/main/resources/libvirt/rng/capability.rng | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/src/main/resources/libvirt/rng/capability.rng b/src/main/resources/libvirt/rng/capability.rng index c4cafc4..c7e72c6 100644 --- a/src/main/resources/libvirt/rng/capability.rng +++ b/src/main/resources/libvirt/rng/capability.rng @@ -138,6 +138,9 @@ <ref name="cell"/> </oneOrMore> </element> + <optional> + <ref name="numaInterconnects"/> + </optional> </element> </define> @@ -157,27 +160,24 @@ <optional> <element name="distances"> - <zeroOrMore> - <element name="sibling"> - <attribute name="id"> - <ref name="unsignedInt"/> - </attribute> - <attribute name="value"> - <ref name="unsignedInt"/> - </attribute> - </element> - </zeroOrMore> + <oneOrMore> + <ref name="numaDistance"/> + </oneOrMore> </element> </optional> + <zeroOrMore> + <ref name="numaCache"/> + </zeroOrMore> + <optional> <element name="cpus"> <attribute name="num"> <ref name="unsignedInt"/> </attribute> - <oneOrMore> + <zeroOrMore> <ref name="cpu"/> - </oneOrMore> + </zeroOrMore> </element> </optional> </element> @@ -283,11 +283,11 @@ <attribute name="granularity"> <ref name="unsignedInt"/> </attribute> - <optional> - <attribute name="min"> - <ref name="unsignedInt"/> - </attribute> - </optional> + <optional> + <attribute name="min"> + <ref name="unsignedInt"/> + </attribute> + </optional> <attribute name="maxAllocs"> <ref name="unsignedInt"/> </attribute> @@ -409,10 +409,7 @@ </optional> <optional> <attribute name="deprecated"> - <choice> - <value>yes</value> - <value>no</value> - </choice> + <ref name="virYesNo"/> </attribute> </optional> <text/> |