On Tue, Mar 05, 2013 at 05:29:02PM +0800, Gao feng wrote:
> 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.

Why? IIRC old systems mount cgroup at /cgroup by default. This means
libvirt lxc has backward compatibility on supporting cgroup?

And, in the case can libvirt lxc give a user-friendly message to user
about what user can do?

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to