From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Meneghel Rodrigues Subject: [PATCH] vmexit: Update unittests.cfg with list of vmexit subtests Date: Mon, 14 May 2012 18:57:11 -0300 Message-ID: <1337032631-12346-1-git-send-email-lmr@redhat.com> Cc: avi@redhat.com, Lucas Meneghel Rodrigues To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:26369 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757704Ab2ENV5P (ORCPT ); Mon, 14 May 2012 17:57:15 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4ELvFpP006793 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 14 May 2012 17:57:15 -0400 Sender: kvm-owner@vger.kernel.org List-ID: vmexit takes a parameter to run appropriate subtests, but unittests.cfg was not updated to reflect that. As this config file is used by automated test harnesses such as autotest, this will make the appropriate tests not executed. Tested successfuly with qemu-kvm shipped in Fedora 17 and RHEL 6.3. I've found problems with qemu-kvm compiled from master HEAD, but it's not related to this patch, as all other unittests are failing (currently under investigation). Signed-off-by: Lucas Meneghel Rodrigues --- x86/unittests.cfg | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/x86/unittests.cfg b/x86/unittests.cfg index 83489d0..10067c4 100644 --- a/x86/unittests.cfg +++ b/x86/unittests.cfg @@ -17,9 +17,39 @@ smp = 2 file = smptest.flat smp = 3 -[vmexit] +[vmexit_cpuid] +file = vmexit.flat +extra_params = -append 'cpuid' + +[vmexit_vmcall] +file = vmexit.flat +extra_params = -append 'vmcall' + +[vmexit_mov_from_cr8] +file = vmexit.flat +extra_params = -append 'mov_from_cr8' + +[vmexit_mov_to_cr8] +file = vmexit.flat +extra_params = -append 'mov_to_cr8' + +[vmexit_inl_pmtimer] +file = vmexit.flat +extra_params = -append 'inl_from_pmtimer' + +[vmexit_ipi] file = vmexit.flat smp = 2 +extra_params = -append 'ipi' + +[vmexit_ipi_halt] +file = vmexit.flat +smp = 2 +extra_params = -append 'ipi_halt' + +[vmexit_ple_round_robin] +file = vmexit.flat +extra_params = -append 'ple_round_robin' [access] file = access.flat -- 1.7.10.1