-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
Please enable support for memory cgroups in bcmrpi_defconfig which is necessary to run LXC guests:
CONFIG_CGROUP_MEM_RES_CTLR=y
CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
Starting with kernel 3.6 these options have been renamed to:
CONFIG_MEMCG=y
CONFIG_MEMCG_SWAP=y
Support for multiple instances of the devpts filesystem is not strictly required, but provides better isolation of guests, so consider enabling it as well:
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
Please also enable CONFIG_VETH=y which is necessary for libvirt to create virtual network adapters for the guests.
libvirtd/virt-manager will still complain about missing /sys/devices/system/cpu/cpu0/topology/thread_siblings and I found no way to enable this information (this might be related to a similar problem Debian saw on a different architecture: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649216). But after patching virt-manager to ignore these errors and use some dummy values instead it works just fine for creating and managing LXC guests.