]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Enhance memoryBacking/locked documentation
authorJiri Denemark <jdenemar@redhat.com>
Mon, 9 Dec 2013 14:42:15 +0000 (15:42 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 9 Dec 2013 14:43:47 +0000 (15:43 +0100)
Mention the need to set memtune/hard_limit.

https://bugzilla.redhat.com/show_bug.cgi?id=1035954

docs/formatdomain.html.in

index 1850a2b8c3740259952f8641520b44a1b478ec8f..b4ee9f3f8a254ebd392787594c0605b0f8b21f7e 100644 (file)
       <dt><code>locked</code></dt>
       <dd>When set and supported by the hypervisor, memory pages belonging
         to the domain will be locked in host's memory and the host will not
-        be allowed to swap them out.
+        be allowed to swap them out. For QEMU/KVM this requires
+        <code>hard_limit</code> <a href="#elementsMemoryTuning">memory tunning</a>
+        element to be used and set to the maximum memory configured for the
+        domain plus any memory consumed by the QEMU process itself.
         <span class="since">Since 1.0.6</span></dd>
     </dl>