commit | 09c62690241510119a406a0acc80cb64155e0080 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Apr 27 01:38:06 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Apr 27 01:38:06 2012 +0400 |
tree | 16e735a4b62cf3577933c36228dd45bb5d01a942 | |
parent | a9dbbe3e811d0149511247a896e2671d9600899a [diff] |
vzctl set --ram/--swap, vzctl start: add checks for vswap-enabled kernel When trying to set --ram and --swap, do check that our kernel is vswap-capable. When trying to start container with vswap config, also check the kernel. This simple check should prevent all sorts of confusion and frustration I guess. http://bugzilla.openvz.org/2251 Reported-by: Nils Breunese <nils@lemonbit.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org>