Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Kernel configuration

639 bytes added, 07:41, 10 July 2007
more grammar
This article summarises various kernel configuration issues.
 
== OpenVZ related kernel config options ==
 
Please make sure the following config options are enabled
in your kernel .config file before compilation process:
CONFIG_SCHED_VCPU=y
CONFIG_FAIRSCHED=y
 
CONFIG_SIM_FS=m
CONFIG_VZ_QUOTA=m
# CONFIG_VZ_QUOTA_UNLOAD is not set
CONFIG_VZ_QUOTA_UGID=y
 
CONFIG_VE=y
CONFIG_VE_CALLS=m
CONFIG_VZ_GENCALLS=y
CONFIG_VE_NETDEV=m
CONFIG_VE_ETHDEV=m
CONFIG_VZ_DEV=m
CONFIG_VE_IPTABLES=y
CONFIG_VZ_WDOG=m
 
CONFIG_VZ_CHECKPOINT=m
 
{{Note|On architectures that do not currently support checkpointing (i.e. ppc and sparc) <code>CONFIG_VZ_CHECKPOINT</code> should be set to <code>n</code>}}
== ACPI sleep ==
./kernel/cpu.c:#error "CONFIG_HOTPLUG_CPU isn't supported with CONFIG_SCHED_VCPU"
On a non-SMP machine, you may disable <code>SMP</code>, this will resolve the conflict.
If you have an SMP machine, you can only disable <code>FAIRSCHED</code> and <code>SCHED_VCPU</code>. This It will loose reduce some isolation between VEs (CPU scheduling will be performed per-task, not per-VE, and <code>cpuunits</code> and <code>cpulimit</code> settings will not take effect), but it is an acceptable solution if your VEs are trusted (and it's hard to imagine untrusted VEs on a notebook ;.)
[[Category:Kernel]]
[[Category:HOWTO]]
38
edits