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

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

 



On 08/03/2012 12:36 AM, Hu Tao wrote:
> From: Wen Congyang <wency@xxxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxx>
> Signed-off-by: Tang Chen <tangchen@xxxxxxxxxxxxxx>
> Signed-off-by: Hu Tao <hutao@xxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]