Skip to content

LXC virtualization support #176

@webmeister

Description

@webmeister

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions