Re: [libvirt] [PATCH 03/13] create a new cgroup and move all hypervisor threads to the new cgroup

2012-07-23 Thread Hu Tao
On Tue, Jul 10, 2012 at 05:14:01PM +0800, tangchen wrote: > create a new cgroup and move all hypervisor threads to the new cgroup. > And then we can do the other things: > 1. limit only vcpu usage rather than the whole qemu > 2. limit for hypervisor threads(include vhost-net threads) > > Signed-of

Re: [libvirt] [PATCH 03/13] create a new cgroup and move all hypervisor threads to the new cgroup

2012-07-10 Thread tangchen
hi~ On 07/03/2012 07:06 AM, Eric Blake wrote: > On 06/05/2012 02:16 AM, tangchen wrote: >> create a new cgroup and move all hypervisor threads to the new cgroup. >> And then we can do the other things: >> 1. limit only vcpu usage rather than the whole qemu >> 2. limit for hypervisor threads(includ

[libvirt] [PATCH 03/13] create a new cgroup and move all hypervisor threads to the new cgroup

2012-07-10 Thread tangchen
create a new cgroup and move all hypervisor threads to the new cgroup. And then we can do the other things: 1. limit only vcpu usage rather than the whole qemu 2. limit for hypervisor threads(include vhost-net threads) Signed-off-by: Wen Congyang --- src/qemu/qemu_cgroup.c | 67 ++

Re: [libvirt] [PATCH 03/13] create a new cgroup and move all hypervisor threads to the new cgroup

2012-07-02 Thread Eric Blake
On 06/05/2012 02:16 AM, tangchen wrote: > create a new cgroup and move all hypervisor threads to the new cgroup. > And then we can do the other things: > 1. limit only vcpu usage rather than the whole qemu > 2. limit for hypervisor threads(include vhost-net threads) A really useful thing to add to

[libvirt] [PATCH 03/13] create a new cgroup and move all hypervisor threads to the new cgroup

2012-06-05 Thread tangchen
create a new cgroup and move all hypervisor threads to the new cgroup. And then we can do the other things: 1. limit only vcpu usage rather than the whole qemu 2. limit for hypervisor threads(include vhost-net threads) --- src/qemu/qemu_cgroup.c | 57