From patchwork Mon Mar 22 07:45:01 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 87368 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2M7esOE029548 for ; Mon, 22 Mar 2010 07:40:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753911Ab0CVHkj (ORCPT ); Mon, 22 Mar 2010 03:40:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62743 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751507Ab0CVHkh (ORCPT ); Mon, 22 Mar 2010 03:40:37 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2M7eaek004917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 22 Mar 2010 03:40:36 -0400 Received: from localhost.localdomain ([10.66.91.25]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2M7eYbe009015; Mon, 22 Mar 2010 03:40:35 -0400 Subject: [PATCH 2/4] KVM test: Add TSC into guest test To: autotest@test.kernel.org, lmr@redhat.com, kvm@vger.kernel.org From: Jason Wang Date: Mon, 22 Mar 2010 15:45:01 +0800 Message-ID: <20100322074501.16119.41851.stgit@localhost.localdomain> In-Reply-To: <20100322074452.16119.22820.stgit@localhost.localdomain> References: <20100322074452.16119.22820.stgit@localhost.localdomain> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 22 Mar 2010 07:40:55 +0000 (UTC) diff --git a/client/tests/kvm/autotest_control/tsc.control b/client/tests/kvm/autotest_control/tsc.control new file mode 100644 index 0000000..0c1c65a --- /dev/null +++ b/client/tests/kvm/autotest_control/tsc.control @@ -0,0 +1,13 @@ +NAME = 'Check TSC' +AUTHOR = 'Michael Davidson ' +TIME = 'MEDIUM' +TEST_CLASS = 'Kernel' +TEST_CATEGORY = 'Functional' +TEST_TYPE = 'client' +DOC = """ +checktsc is a user space program that checks TSC synchronization +between pairs of CPUs on an SMP system using a technique borrowed +from the Linux 2.6.18 kernel. +""" + +job.run_test('tsc') diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index 2af6a05..861759e 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -136,6 +136,9 @@ variants: - monotonic_time: test_name = monotonic_time test_control_file = monotonic_time.control + - tsc: + test_name = tsc + test_control_file = tsc.control - linux_s3: install setup unattended_install type = linux_s3