You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Supporting LXC would be a great addition to platform as it enable developers to create containers to test their work without modifying the underlying OS (like installing external packages, trying new tools) and since it can run another distribution on top of underlying distro, we no longer need to deal with multiple SD cards for using different Linux distributions.
I try top compile on 3.8.7 . from make oldconfig :
Memory Resource Controller for Control Groups (MEMCG) [Y/n/?] y
Memory Resource Controller Swap Extension (MEMCG_SWAP) [Y/n/?] y
Memory Resource Controller Swap Extension enabled by default (MEMCG_SWAP_ENABLED) Y/n/? y
Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL) (MEMCG_KMEM) N/y/? y
Enable perf_event per-cpu per-container group (cgroup) monitoring (CGROUP_PERF) [N/y/?] y
Activity
caglar10ur commentedon Jan 21, 2013
Supporting LXC would be a great addition to platform as it enable developers to create containers to test their work without modifying the underlying OS (like installing external packages, trying new tools) and since it can run another distribution on top of underlying distro, we no longer need to deal with multiple SD cards for using different Linux distributions.
hvenzke commentedon Apr 16, 2013
I try top compile on 3.8.7 . from make oldconfig :
Memory Resource Controller for Control Groups (MEMCG) [Y/n/?] y
Memory Resource Controller Swap Extension (MEMCG_SWAP) [Y/n/?] y
Memory Resource Controller Swap Extension enabled by default (MEMCG_SWAP_ENABLED) Y/n/? y
Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL) (MEMCG_KMEM) N/y/? y
Enable perf_event per-cpu per-container group (cgroup) monitoring (CGROUP_PERF) [N/y/?] y
hvenzke commentedon Apr 23, 2013
Tested successfully LXC virtualization support with kernel 3.8.7/3.8.8 works fine.
LXC docu help : http://www.greenhills.co.uk/2011/06/10/lxc.html
block: fix ioc locking warning
staging/ozwpan: coding style ether_addr_copy
caglar10ur commentedon Jul 23, 2014
Happy to report that LXC 1.0.x is working fine with 3.12.24+
popcornmix commentedon Jul 23, 2014
@webmeister
okay to close?
webmeister commentedon Jul 24, 2014
All necessary config options appear to be set now.
introduce --with-distro=raspbian
introduce --with-distro=raspbian
zram: fix unbalanced idr management at hot removal
zram: fix unbalanced idr management at hot removal
zram: fix unbalanced idr management at hot removal
blk-mq: fix discard merge with scheduler attached
blk-mq: fix discard merge with scheduler attached
team: Forbid enslaving team device to itself
team: Forbid enslaving team device to itself
team: Forbid enslaving team device to itself
mm/swapfile.c: move inode_lock out of claim_swapfile
mm/swapfile.c: move inode_lock out of claim_swapfile
mm/swapfile.c: move inode_lock out of claim_swapfile
bpf: Add rcu_read_lock in bpf_get_current_[ancestor_]cgroup_id() helpers
codetag: avoid race at alloc_slab_obj_exts