commit | af42bbd1ec74e5f2504066960e41ba39ce8867a5 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon May 16 00:09:38 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon May 16 00:09:38 2011 +0400 |
tree | f5bcee4ac31f98eb70c7e7e41aa2f4efa14cbaf4 | |
parent | 282d6f8aebb6cb181362aeadfcd0af6128b47061 [diff] |
vzctl: do not allow too high CTID Commit 8785cbd2 already introduced the check for too high CTID. Some kernels also use a few values close to INT_MAX for internal purposes, so such CTs can not be started. Add CTID_MAX and fix the check for CTID to use it. Signed-off-by: Kir Kolyshkin <kir@openvz.org>