docs: Warn against locked memory limit too high

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

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Jiri Denemark 2016-06-28 14:00:03 +02:00
parent cdf4ae6ae3
commit 60a545fa68

View File

@ -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>