From fe8eb8839a97b48103d364a393b32d73dac9201f Mon Sep 17 00:00:00 2001 From: Jim Fehlig Date: Fri, 14 Dec 2018 14:44:57 -0700 Subject: [PATCH] docs: Improve description of /domain/memtune/hard_limit provides a way to cap the memory a VM process can use, including the amount of memory the process can lock. When memory locking of a VM is requested, can be used to prevent the potential host DoS issue mentioned in /domain/memoryBacking/locked description. This patch improves the text by clarifying it can be used to prevent "host crashing" when VM memory is locked. Signed-off-by: Jim Fehlig --- docs/formatdomain.html.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 2463261372..a18d063473 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -1243,9 +1243,9 @@ memory backing because your workload demands it, you'll have to take into account the specifics of your deployment and figure out a value for hard_limit that - balances the risk of your guest being killed because the limit was set - too low and the risk of your host crashing because it cannot reclaim - the memory used by the guest due to locked. Good luck! + is large enough to support the memory requirements of your guest, but + small enough to protect your host against a malicious guest locking all + memory.
soft_limit
The optional soft_limit element is the memory limit to enforce during memory contention. The units for this value are