commit | 76526a92902cc849d3554e4f215d76755d070689 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Sep 20 19:45:17 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Sep 20 19:45:17 2011 +0400 |
tree | 3cf15fb6c85826f73fbfd2fa692342a2980fdc5c | |
parent | 5094cfa6aa9720ee7947d9fb93b133fbbea52eb2 [diff] |
vzctl: skip setting meminfo on a vswap-enabled CT It does no harm to try setting meminfo on a vswap-enabled container, since it is ignored by kernel anyway. The only problem is somewhat strange message: Configuring meminfo: 9223372036854775807 Avoid this by checking if CT config is vswap-enabled, and skipping meminfo configuration if it is. Signed-off-by: Kir Kolyshkin <kir@openvz.org>