mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05: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
@@ -805,7 +805,8 @@ typedef enum {
|
||||
* VIR_DOMAIN_MEMORY_SWAP_HARD_LIMIT:
|
||||
*
|
||||
* Macro for the swap tunable swap_hard_limit: it represents the maximum swap
|
||||
* the guest can use.
|
||||
* plus memory the guest can use. This limit has to be more than
|
||||
* VIR_DOMAIN_MEMORY_HARD_LIMIT.
|
||||
*/
|
||||
|
||||
#define VIR_DOMAIN_MEMORY_SWAP_HARD_LIMIT "swap_hard_limit"
|
||||
|
||||
Reference in New Issue
Block a user