[libvirt-users] libvirt/qemu and cgroups

arnaud gaboury arnaud.gaboury at gmail.com
Mon Feb 10 12:40:35 UTC 2014


>
> 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.slice
> and also create machine-dahlia-foo.slice, making sure the latter had
> After=machine-dahlia.slice. Then the libvirt name would be listed as
> /machine/dahlia/foo


Got it. Thanks a lot.

> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
> |: http://libvirt.org              -o-             http://virt-manager.org :|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



-- 

google.com/+arnaudgabourygabx




More information about the libvirt-users mailing list