Re: [libvirt-users] libvirt/qemu and cgroups

2014-02-10 Thread arnaud gaboury
> > Lets say you want a 2 level hierarchy for the guest from your example > above. In the libvirt XML you would set the partition name to: > >/machine/dahlia > > this corresponds to a systemd slice call machine-dahlia.slice > > If you wanted a third level you'd need to create machine-dahlia.sl

Re: [libvirt-users] libvirt/qemu and cgroups

2014-02-10 Thread Daniel P. Berrange
On Mon, Feb 10, 2014 at 01:28:42PM +0100, arnaud gaboury wrote: > > The precise answer depends on which version of systemd you have. In > > any systemd host though, systemd should ensure all the filesystems > > are mounted correctly. If you have libvirt >= 1.1.1 and systemd >= 205 > > then you can

Re: [libvirt-users] libvirt/qemu and cgroups

2014-02-10 Thread arnaud gaboury
> The precise answer depends on which version of systemd you have. In > any systemd host though, systemd should ensure all the filesystems > are mounted correctly. If you have libvirt >= 1.1.1 and systemd >= 205 > then you can use its "slice" and "scope" concepts to setup grouping > of VMs. If you

Re: [libvirt-users] libvirt/qemu and cgroups

2014-02-10 Thread Daniel P. Berrange
On Mon, Feb 10, 2014 at 12:29:10AM +0100, arnaud gaboury wrote: > Dear list, > > I am building a Arch server on my Arch box. > My tools are QEMU/KVM and libvirt to manage the guest, systemd as > system manager. > > I am looking at implementing the Linux Control Groups facilities for > resource ma

Re: [libvirt-users] libvirt/qemu and cgroups

2014-02-10 Thread arnaud gaboury
On Mon, Feb 10, 2014 at 12:29 AM, arnaud gaboury wrote: > Dear list, > > I am building a Arch server on my Arch box. > My tools are QEMU/KVM and libvirt to manage the guest, systemd as > system manager. > > I am looking at implementing the Linux Control Groups facilities for > resource management.