]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Enable cpuset cgroup and synchronous vcpupin info to cgroup.
authorHu Tao <hutao@cn.fujitsu.com>
Tue, 21 Aug 2012 09:18:30 +0000 (17:18 +0800)
committerDaniel Veillard <veillard@redhat.com>
Wed, 22 Aug 2012 07:12:22 +0000 (15:12 +0800)
commitfe1d32596c243692fb76cc4faa402abfc9b23020
tree4d3ce57414123a0c695ae6ab58f013dee426719b
parenta5dd8b808c2980f85c54fbca7cf87978ab7fe759
Enable cpuset cgroup and synchronous vcpupin info to cgroup.

vcpu threads pin are implemented using sched_setaffinity(), but
not controlled by cgroup. This patch does the following things:

    1) enable cpuset cgroup
    2) reflect all the vcpu threads pin info to cgroup

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
src/libvirt_private.syms
src/qemu/qemu_cgroup.c
src/qemu/qemu_cgroup.h
src/qemu/qemu_driver.c
src/util/cgroup.c
src/util/cgroup.h