[PATCH 1/2] qemu, ch: Move threads to cgroup dir before changing parameters