[libvirt] [PATCH 01/17] Introduce the function virCgroupForHypervisor
Eric Blake
eblake at redhat.com
Mon Aug 6 20:28:24 UTC 2012
On 08/03/2012 12:36 AM, Hu Tao wrote:
> From: Wen Congyang <wency at 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 at cn.fujitsu.com>
> Signed-off-by: Tang Chen <tangchen at cn.fujitsu.com>
> Signed-off-by: Hu Tao <hutao at 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 at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120806/c60a0deb/attachment-0001.sig>
More information about the libvir-list
mailing list