]> xenbits.xensource.com Git - libvirt.git/commit
qemu: do not put a task into machine cgroup
authorHenning Schild <henning.schild@siemens.com>
Mon, 14 Dec 2015 20:48:05 +0000 (15:48 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 14 Dec 2015 20:48:05 +0000 (15:48 -0500)
commita41c00b472efaa192d2deae51ab732e65903238f
tree0620c69b9cfebfbb81b027f295f86db35c406242
parent71ce475967b3523882b0e1a0f649fdbea5abf9d5
qemu: do not put a task into machine cgroup

The machine cgroup is a superset, a parent to the emulator and vcpuX
cgroups. The parent cgroup should never have any tasks directly in it.
In fact the parent cpuset might contain way more cpus than the sum of
emulatorpin and vcpupins. So putting tasks in the superset will allow
them to run outside of <cputune>.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
src/qemu/qemu_cgroup.c
src/qemu/qemu_process.c