c401cc
From 20dc5f0c4ffaf855308969d4e426209f2df91ce6 Mon Sep 17 00:00:00 2001
c401cc
Message-Id: <20dc5f0c4ffaf855308969d4e426209f2df91ce6.1386932210.git.jdenemar@redhat.com>
c401cc
From: Jiri Denemark <jdenemar@redhat.com>
c401cc
Date: Mon, 9 Dec 2013 18:29:49 +0100
c401cc
Subject: [PATCH] docs: Enhance memoryBacking/locked documentation
c401cc
c401cc
Mention the need to set memtune/hard_limit.
c401cc
c401cc
https://bugzilla.redhat.com/show_bug.cgi?id=1035954
c401cc
(cherry picked from commit 24fbbb82636ee00a5f5ac3c960459696e96f2911)
c401cc
c401cc
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
c401cc
---
c401cc
 docs/formatdomain.html.in | 5 ++++-
c401cc
 1 file changed, 4 insertions(+), 1 deletion(-)
c401cc
c401cc
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
c401cc
index 913c011..c783478 100644
c401cc
--- a/docs/formatdomain.html.in
c401cc
+++ b/docs/formatdomain.html.in
c401cc
@@ -638,7 +638,10 @@
c401cc
       
locked
c401cc
       
When set and supported by the hypervisor, memory pages belonging
c401cc
         to the domain will be locked in host's memory and the host will not
c401cc
-        be allowed to swap them out.
c401cc
+        be allowed to swap them out. For QEMU/KVM this requires
c401cc
+        hard_limit memory tunning
c401cc
+        element to be used and set to the maximum memory configured for the
c401cc
+        domain plus any memory consumed by the QEMU process itself.
c401cc
         Since 1.0.6
c401cc
     
c401cc
 
c401cc
-- 
c401cc
1.8.5.1
c401cc