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

Luyao Zhong luyao.zhong at intel.com
Sun Jan 3 10:39:16 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>
---
 docs/schemas/domaincommon.rng | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 17e25f14f2..aaec402658 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -1097,6 +1097,7 @@
                   <value>strict</value>
                   <value>preferred</value>
                   <value>interleave</value>
+                  <value>restrictive</value>
                 </choice>
               </attribute>
             </optional>
@@ -1129,6 +1130,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