6,534
edits
Changes
VSwap
,How to distinguish between vswap and non-vswap configs?
Now your config is vswap enabled, and when you (re)start it, vswap mechanism will be used by the kernel for this CT.
== How to distinguish between vswap and non-vswap configs? ==
Both <code>vzctl</code> and the kernel treats a configuration file as vswap one if PHYSPAGES limit is '''not''' set to <code>unlimited</code> (a.k.a. [[LONG_MAX]]).
In addition, vzctl checks if kernel support vswap, and refuses to start a vswap-enabled container on a non vswap capable kernel. The check is presence of <code>/proc/vz/vswap</code> file.
== See also ==