]> xenbits.xensource.com Git - libvirt.git/commit
qemu_cgroup: put qemu right into emulator sub-cgroup
authorHenning Schild <henning.schild@siemens.com>
Fri, 26 Feb 2016 15:34:23 +0000 (16:34 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Mar 2016 14:07:27 +0000 (14:07 +0000)
commit8e21e8d110743c66d2be258f8f39173f66c5c3b3
tree4e7b4d548582e5b593bd34a0f06df11eca1f6cb1
parenta06ef20782cc45adad73b7cd0541f355517ca141
qemu_cgroup: put qemu right into emulator sub-cgroup

Move qemuProcessSetupEmulator up under qemuSetupCgroup. That way
we move the one main thread right into the emulator cgroup, instead
of moving multiple threads later on. And we do not actually want any
threads running in the parent cgroups (cpu cpuacct cpuset).

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