Re: [libvirt] [PATCH 02/13] Introduce the function virCgroupMoveTask

2012-07-23 Thread Hu Tao
On Tue, Jul 10, 2012 at 05:13:15PM +0800, tangchen wrote: > Introduce a new API to move tasks of one controller from a cgroup to another > cgroup > > Signed-off-by: Wen Congyang > --- > src/libvirt_private.syms |2 + > src/util/cgroup.c| 127 > +

Re: [libvirt] [PATCH 02/13] Introduce the function virCgroupMoveTask

2012-07-10 Thread tangchen
hi~ >> +int virCgroupMoveTask(virCgroupPtr src_group, virCgroupPtr dest_group) >> +{ >> +int rc = 0; >> +int i; >> +char *content, *value, *next; >> + >> +for (i = 0 ; i < VIR_CGROUP_CONTROLLER_LAST ; i++) { >> +/* Skip over controllers not mounted */ >> +if (!src_g

[libvirt] [PATCH 02/13] Introduce the function virCgroupMoveTask

2012-07-10 Thread tangchen
Introduce a new API to move tasks of one controller from a cgroup to another cgroup Signed-off-by: Wen Congyang --- src/libvirt_private.syms |2 + src/util/cgroup.c| 127 ++ src/util/cgroup.h|8 +++ 3 files changed, 137 insert

Re: [libvirt] [PATCH 02/13] Introduce the function virCgroupMoveTask

2012-07-02 Thread Eric Blake
On 06/05/2012 02:16 AM, tangchen wrote: > Introduce a new API to move all tasks from a cgroup to another cgroup Again, authorship is incorrect for the purposes of 'git am'. > --- > src/libvirt_private.syms |1 + > src/util/cgroup.c| 55 > +++

[libvirt] [PATCH 02/13] Introduce the function virCgroupMoveTask

2012-06-05 Thread tangchen
Introduce a new API to move all tasks from a cgroup to another cgroup --- src/libvirt_private.syms |1 + src/util/cgroup.c| 55 ++ src/util/cgroup.h|2 + 3 files changed, 58 insertions(+), 0 deletions(-) diff --git a/src/libvir