Re: [libvirt] RFC: APIs for managing resource groups

2013-02-26 Thread Jiri Denemark
On Mon, Feb 25, 2013 at 12:41:06 +, Daniel P. Berrange wrote: ... > Then I think we'll duplicate all the APIs for setting resource tunables > from virDomainPtr against the new object, so we get > > > int virPartitionGetSchedulerParameters(virPartitionPtr partition, >

Re: [libvirt] RFC: APIs for managing resource groups

2013-02-25 Thread Eric Blake
On 02/25/2013 05:41 AM, Daniel P. Berrange wrote: > Historically for the QEMU/LXC drivers we've simply put each virtual > instance in a dedicated cgroup, under the path > > We need to simplify our layout and also introduce some APIs for the > grouping of VMs. I won't go into specifics of a new cg

Re: [libvirt] RFC: APIs for managing resource groups

2013-02-25 Thread Daniel P. Berrange
On Mon, Feb 25, 2013 at 09:48:16AM -0700, Eric Blake wrote: > On 02/25/2013 05:41 AM, Daniel P. Berrange wrote: > > Historically for the QEMU/LXC drivers we've simply put each virtual > > instance in a dedicated cgroup, under the path > > > > > We need to simplify our layout and also introduce so

[libvirt] RFC: APIs for managing resource groups

2013-02-25 Thread Daniel P. Berrange
Historically for the QEMU/LXC drivers we've simply put each virtual instance in a dedicated cgroup, under the path $LIBVIRT_CGROUP_LOCATION | +- libvirt | +- qemu | | | +- vm1 | +- vm2 | +- vm3 | +- lxc