[libvirt] [PATCH 3/3] Add support for preallocated fd memory - doc

Jaroslav Safka jaroslavx.safka at intel.com
Tue Nov 1 12:11:16 UTC 2016


Add html documentation for memoryBacking element.
---
 docs/formatdomain.html.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index c70377b..ed15eb5 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -903,6 +903,9 @@
     </hugepages>
     <nosharepages/>
     <locked/>
+    <source type='file|anonymous'/>
+    <access mode='shared|private'>
+    <allocation mode='immediate|ondemand'/>
   </memoryBacking>
   ...
 </domain>
@@ -942,6 +945,13 @@
         most of the host's memory). Doing so may be dangerous to both the
         domain and the host itself since the host's kernel may run out of
         memory. <span class="since">Since 1.0.6</span></dd>
+      <dt><code>source</code></dt>
+        <dd>If the option "file" is selected, then token "mem-path=/var/lib/libvirt/qemu" will be added to object argument.</dd>
+      <dt><code>access</code></dt>
+        <dd>Specify if memory is shared or private. This can be overridden by numa cell element memAccess.
+        If share is selected then token "share=yes" will be added to object memory-backend-file.</dd>
+      <dt><code>allocation</code></dt>
+        <dd>Immediate - preallocate the memory immediately</dd>
     </dl>
 
 
-- 
2.7.4

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.




More information about the libvir-list mailing list