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
> +
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
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
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
> +++
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