From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukas Doktor Subject: [kvm-autotest] tests.cgroup: Add TestFreezer Date: Mon, 31 Oct 2011 10:30:32 +0100 Message-ID: <1320053433-5190-1-git-send-email-ldoktor@redhat.com> To: autotest@test.kernel.org, kvm@vger.kernel.org, kvm-autotest@redhat.com, akong@redhat.com, lmr@redhat.com, ldoktor@redhat.com, jzupka@redhat.com Return-path: Received: from mx1.redhat.com ([209.132.183.28]:53318 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754628Ab1JaIao (ORCPT ); Mon, 31 Oct 2011 04:30:44 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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 ldoktor@redhat.com Please see the pull request for updates: https://github.com/autotest/autotest/pull/55