[libvirt][PATCH v5 2/3] schema: add 'restrictive' config option for mode in numatune

Luyao Zhong posted 3 patches 4 years, 10 months ago
[libvirt][PATCH v5 2/3] schema: add 'restrictive' config option for mode in numatune
Posted by Luyao Zhong 4 years, 10 months ago
support 'restrictive' mode in memory element and memnode
element in numatune:
  <domain>
    ...
    <numatune>
      <memory mode="restrictive" nodeset="1-4,^3"/>
      <memnode cellid="0" mode="restrictive" nodeset="1"/>
      <memnode cellid="2" mode="restrictive" nodeset="2"/>
    </numatune>
    ...
  </domain>

Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Luyao Zhong <luyao.zhong@intel.com>
---
 docs/schemas/domaincommon.rng | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 99cd873832..20a43148b1 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -1107,6 +1107,7 @@
                   <value>strict</value>
                   <value>preferred</value>
                   <value>interleave</value>
+                  <value>restrictive</value>
                 </choice>
               </attribute>
             </optional>
@@ -1139,6 +1140,7 @@
                 <value>strict</value>
                 <value>preferred</value>
                 <value>interleave</value>
+                <value>restrictive</value>
               </choice>
             </attribute>
             <attribute name="nodeset">
-- 
2.25.4