autotest/autotest — pull request #55 by ldoktor (2011-10-31 08:29:20+00:00)
Title: [kvm-autotest] tests.cgroup: Add TestFreezer

This subtest tests the 'freezer.state' cgroup functionality. It assignes the
virtual machine into freezer cgroup, schedule cpu-intensive work and verifies
the correct function in both states (frozen/thawed) during long and short
period of time.

* Adds TestFreezer (freezer) test
* Adds assign_vm_into_cgroup() function
* Code cleanup

Signed-off-by: Lukas Doktor