mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virsh: fix memtune's help message for swap_hard_limit
* Correct the documentation for cgroup: the swap_hard_limit indicates mem+swap_hard_limit. * Change cgroup private apis to: virCgroupGet/SetMemSwapHardLimit Signed-off-by: Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com>
This commit is contained in:
committed by
Eric Blake
parent
2090b0f52d
commit
78ba748ef1
@@ -325,8 +325,9 @@
|
||||
kilobytes (i.e. blocks of 1024 bytes)</dd>
|
||||
<dt><code>swap_hard_limit</code></dt>
|
||||
<dd> The optional <code>swap_hard_limit</code> element is the maximum
|
||||
swap the guest can use. The units for this value are kilobytes
|
||||
(i.e. blocks of 1024 bytes)</dd>
|
||||
memory plus swap the guest can use. The units for this value are
|
||||
kilobytes (i.e. blocks of 1024 bytes). This has to be more than
|
||||
hard_limit value provided</dd>
|
||||
<dt><code>min_guarantee</code></dt>
|
||||
<dd> The optional <code>min_guarantee</code> element is the guaranteed
|
||||
minimum memory allocation for the guest. The units for this value are
|
||||
|
||||
Reference in New Issue
Block a user