[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 01/17] Introduce the function virCgroupForHypervisor



On 08/03/2012 12:36 AM, Hu Tao wrote:
> From: Wen Congyang <wency cn fujitsu com>
> 
> Introduce the function virCgroupForHypervisor() to create sub directory
> for hypervisor thread(include I/O thread, vhost-net thread).
> 
> There is already function to create cgroup dir for vcpus. Function
> virCgroupForHypervisor() creates cgroup dir for hypervisor, like those
> for vcpus. The hierarchy looks like this:
> 
> cgroup mount point
> +--libvirt
>    +--qemu
>       +--domain name
>          +--vcpu0
>          ...
>          +--vcpuN
>          +--hypervisor
> 
> 
> Signed-off-by: Wen Congyang <wency cn fujitsu com>
> Signed-off-by: Tang Chen <tangchen cn fujitsu com>
> Signed-off-by: Hu Tao <hutao cn fujitsu com>
> ---
>  src/libvirt_private.syms |    1 +
>  src/util/cgroup.c        |   42 ++++++++++++++++++++++++++++++++++++++++++
>  src/util/cgroup.h        |    4 ++++
>  3 files changed, 47 insertions(+)
> 

Looks okay in isolation, but I'll continue reviewing the entire series
before I push anything.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]