[libvirt] [PATCH] docs: Warn against locked memory limit too high

Jiri Denemark jdenemar at redhat.com
Tue Jun 28 12:01:12 UTC 2016


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

Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
---
 docs/formatdomain.html.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index f660aa6..b0b2f82 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -862,8 +862,11 @@
         be allowed to swap them out. For QEMU/KVM this requires
         <code>hard_limit</code> <a href="#elementsMemoryTuning">memory tuning</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>
+        domain plus any memory consumed by the QEMU process itself. Beware of
+        setting the memory limit too high (and thus allowing the domain to lock
+        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>
     </dl>
 
 
-- 
2.9.0




More information about the libvir-list mailing list