There's no cgroug config file in rootfs on my embedded PPC platform, I could mount cgroups manually. Should it be hierarchy directory mounted? Or could also looks like: # Mount -t cgroup cgroup /sys/fs/cgroup # mount rootfs on / type rootfs (rw) /dev/root on / type ext2 (rw,relatime) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) none on /dev type tmpfs (rw,relatime,mode=755) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /var/volatile type tmpfs (rw,relatime) tmpfs on /media/ram type tmpfs (rw,relatime) cgroup on /sys/fs/cgroup type cgroup (rw,relatime,freezer,devices,memory,cpuacct,cpuset) But it also failed to mount cgroup on /sys/fs/cgroup # virsh -c lxc:/// start vm1 error: Failed to start domain vm1 error: internal error guest failed to start: 2013-03-07 08:31:02.418+0000: 2387: info : libvirt version: 1.0.3 2013-03-07 08:31:02.418+0000: 2387: warning : lxcCapsInit:73 : Failed to get host power management capabilities PATH=/bin:/sbin TERM=linux container=lxc-libvirt container_uuid=8b8492e0-5d90-441c-8822-c04b8e72bda3 LIBVIRT_LXC_UUID=8b8492e0-5d90-441c-8822-c04b8e72bda3 LIBVIRT_LXC_NAME=vm1 /bin/sh 2013-03-07 08:31:02.522+0000: 1: error : lxcContainerMountCGroups:1892 : Failed to mount cgroup on '/sys/fs/cgroup': No such file or directory 2013-03-07 08:31:02.522+0000: 2388: error : virLXCControllerRun:1468 : error receiving signal from container: Input/output error Best Regards, Olivia > -----Original Message----- > From: Gao feng [mailto:gaofeng@xxxxxxxxxxxxxx] > Sent: Tuesday, March 05, 2013 5:29 PM > To: Yin Olivia-R63875 > Cc: libvir-list@xxxxxxxxxx > Subject: Re: failed to mount cgroup > > On 2013/03/05 14:43, Yin Olivia-R63875 wrote: > > Hi, > > > > I tried to run libvirt-1.0.2 with LXC as below, but it failed to mount > cgroup. > > > > You should change your cgroup configuration as below cgroup on > /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) > cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup > (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu) > cgroup on /sys/fs/cgroup/memory type cgroup > (rw,nosuid,nodev,noexec,relatime,memory) > cgroup on /sys/fs/cgroup/devices type cgroup > (rw,nosuid,nodev,noexec,relatime,devices) > cgroup on /sys/fs/cgroup/freezer type cgroup > (rw,nosuid,nodev,noexec,relatime,freezer) > cgroup on /sys/fs/cgroup/net_cls type cgroup > (rw,nosuid,nodev,noexec,relatime,net_cls) > cgroup on /sys/fs/cgroup/blkio type cgroup > (rw,nosuid,nodev,noexec,relatime,blkio) > cgroup on /sys/fs/cgroup/perf_event type cgroup > (rw,nosuid,nodev,noexec,relatime,perf_event) > > Libvirt lxc doesn't support configure cgroup as you did below now. -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list