it seems that the CONFIG_CGROUP_MEM_RES_CTLR was removed or either renamed in kernel 3.6.0 (latter most probably to CONFIG_MEMCG), it would be wise to make sure and modify the ebuild to check for different config keys per version. see: * Messages for package app-emulation/libvirt-0.10.2-r1: * Package: app-emulation/libvirt-0.10.2-r1 * Repository: gentoo * Maintainer: cardoe@gentoo.org virtualization@gentoo.org * USE: amd64 caps consolekit elibc_glibc kernel_linux libvirtd lvm lxc macvtap multilib nfs nls parted policykit python qemu udev userland_GNU vepa * FEATURES: sandbox * Package: app-emulation/libvirt-0.10.2-r1 * Repository: gentoo * Maintainer: cardoe@gentoo.org virtualization@gentoo.org * USE: amd64 caps consolekit elibc_glibc kernel_linux libvirtd lvm lxc macvtap multilib nfs nls parted policykit python qemu udev userland_GNU vepa * FEATURES: sandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.6.0-gentoo/build * Found sources for kernel version: * 3.6.0-gentoo * Checking for suitable kernel configuration options... * CONFIG_CGROUP_MEM_RES_CTLR: is not set when it should be. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. * Applying various patches (bugfixes/updates) ... * 0001-build-default-selinuxfs-mount-point-to-sys-fs-selinu.patch ... * 0002-Fix-compilation-of-legacy-xen-driver-with-Xen-4.2.patch ... * 0003-network-fix-dnsmasq-radvd-binding-to-IPv6-on-recent-.patch ... * 0004-Fix-rare-deadlock-in-QEMU-monitor-callbacks.patch ... * 0005-Fix-potential-deadlock-when-agent-is-closed.patch ... * 0006-interface-add-udev-based-backend-for-virInterface.patch ... * Done with patching * Running eautoreconf in '/var/tmp/portage/app-emulation/libvirt-0.10.2-r1/work/libvirt-0.10.2' ... * Running autopoint --force ... * Running libtoolize --install --copy --force --automake ... * Running aclocal -I m4 -I gnulib/m4 ... * Running autoconf ... * Running autoheader ... * Running automake --add-missing --copy ... * Running elibtoolize in: libvirt-0.10.2/build-aux/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.2 patch ... * Compilation and optimization of Python modules for CPython 2.7 ... * * For the basic networking support (bridged and routed networks) * you don't need any extra software. For more complex network modes * including but not limited to NATed network, you can enable the * 'virt-network' USE flag. * * libvirt will now start qemu/kvm VMs with non-root privileges. * Ensure any resources your VMs use are accessible by qemu:qemu >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. * IMPORTANT: config file '/usr/share/config/kdm/kdmrc' needs updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. Reproducible: Always
I can confirm this, and you've also got the correct configuration option (CONFIG_MEMCG)
*** Bug 439304 has been marked as a duplicate of this bug. ***
Fixed in CVS.