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

Luyao Zhong luyao.zhong at intel.com
Tue Apr 13 06:38:07 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 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




More information about the libvir-list mailing list