docs, conf, schema: add support for shared memory mapping

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander
2014-09-17 16:10:26 +02:00
parent f864aac90b
commit def6b35989
7 changed files with 131 additions and 6 deletions
+6 -1
View File
@@ -1141,7 +1141,7 @@
...
&lt;numa&gt;
&lt;cell id='0' cpus='0-3' memory='512000'/&gt;
&lt;cell id='1' cpus='4-7' memory='512000'/&gt;
&lt;cell id='1' cpus='4-7' memory='512000' memAccess='shared'/&gt;
&lt;/numa&gt;
...
&lt;/cpu&gt;
@@ -1158,6 +1158,11 @@
assigned <code>id</code>s in the increasing order starting from
0. Mixing cells with and without the <code>id</code> attribute
is not recommended as it may result in unwanted behaviour.
<span class='since'>Since 1.2.9</span> the optional attribute
<code>memAccess</code> can control whether the memory is to be
mapped as "shared" or "private". This is valid only for
hugepages-backed memory.
</p>
<p>
+8
View File
@@ -4030,6 +4030,14 @@
<attribute name="memory">
<ref name="memoryKB"/>
</attribute>
<optional>
<attribute name="memAccess">
<choice>
<value>shared</value>
<value>private</value>
</choice>
</attribute>
</optional>
</element>
</define>