]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_cgroup: use virCgroupAddTask instead of virCgroupMoveTask
authorHenning Schild <henning.schild@siemens.com>
Fri, 26 Feb 2016 15:34:24 +0000 (16:34 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Mar 2016 14:07:27 +0000 (14:07 +0000)
commitff16bde100e19fbff17a964c08321f30f87afb22
tree64b5d7ae2d74cfb2d7934e853873a4f78c9d4f06
parent8e21e8d110743c66d2be258f8f39173f66c5c3b3
qemu_cgroup: use virCgroupAddTask instead of virCgroupMoveTask

qemuProcessSetupEmulator runs at a point in time where there is only
the qemu main thread. Use virCgroupAddTask to put just that one task
into the emulator cgroup. That patch makes virCgroupMoveTask and
virCgroupAddTaskStrController obsolete.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
src/libvirt_private.syms
src/qemu/qemu_process.c
src/util/vircgroup.c
src/util/vircgroup.h