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

Luyao Zhong luyao.zhong at intel.com
Tue Mar 23 02:59:04 UTC 2021


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 at gmail.com>
Signed-off-by: Luyao Zhong <luyao.zhong at 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 1dbfc68f18..14ff3005d0 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -1110,6 +1110,7 @@
                   <value>strict</value>
                   <value>preferred</value>
                   <value>interleave</value>
+                  <value>restrictive</value>
                 </choice>
               </attribute>
             </optional>
@@ -1142,6 +1143,7 @@
                 <value>strict</value>
                 <value>preferred</value>
                 <value>interleave</value>
+                <value>restrictive</value>
               </choice>
             </attribute>
             <attribute name="nodeset">
-- 
2.25.4




More information about the libvir-list mailing list