]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Leave cpuset.mems in parent cgroup alone
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 12 Dec 2014 14:29:48 +0000 (15:29 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 16 Dec 2014 10:15:27 +0000 (11:15 +0100)
commitaf2a1f0587d88656f2c14265a63fbc11ecbd924e
treef58119286881c974813405f8b2414f695fb31a09
parentc74d58ad4770cb2e2060f81ce32bc78c8ed31e5a
qemu: Leave cpuset.mems in parent cgroup alone

Instead of setting the value of cpuset.mems once when the domain starts
and then re-calculating the value every time we need to change the child
cgroup values, leave the cgroup alone and rather set the child data
every time there is new cgroup created.  We don't leave any task in the
parent group anyway.  This will ease both current and future code.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_cgroup.c
src/qemu/qemu_driver.c