From patchwork Tue Feb 12 23:34:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Christopherson X-Patchwork-Id: 10808911 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BF1641390 for ; Tue, 12 Feb 2019 23:34:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF87D2BCDD for ; Tue, 12 Feb 2019 23:34:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A41882C201; Tue, 12 Feb 2019 23:34:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 564122BCDD for ; Tue, 12 Feb 2019 23:34:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731899AbfBLXe4 (ORCPT ); Tue, 12 Feb 2019 18:34:56 -0500 Received: from mga04.intel.com ([192.55.52.120]:58481 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731853AbfBLXez (ORCPT ); Tue, 12 Feb 2019 18:34:55 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Feb 2019 15:34:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,362,1544515200"; d="scan'208";a="318494790" Received: from sjchrist-coffee.jf.intel.com ([10.54.74.14]) by fmsmga006.fm.intel.com with ESMTP; 12 Feb 2019 15:34:54 -0800 From: Sean Christopherson To: Paolo Bonzini , =?utf-8?b?UmFkaW0gS3LEjW3DocWZ?= Cc: kvm@vger.kernel.org Subject: [kvm-unit-tests PATCH 11/15] KVM: nVMX: Consolidate the SMP tests into a single testcase Date: Tue, 12 Feb 2019 15:34:47 -0800 Message-Id: <20190212233451.27740-12-sean.j.christopherson@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190212233451.27740-1-sean.j.christopherson@intel.com> References: <20190212233451.27740-1-sean.j.christopherson@intel.com> MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The SMP tests aren't so special that each test deserves its own testcase. This also sets the stage for renaming the tests to add an "smp_" prefix so that they can be run using simply globbing. Signed-off-by: Sean Christopherson --- x86/unittests.cfg | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/x86/unittests.cfg b/x86/unittests.cfg index 8839644..838b2f5 100644 --- a/x86/unittests.cfg +++ b/x86/unittests.cfg @@ -236,10 +236,10 @@ extra_params = -cpu host,host-phys-bits,+vmx -m 2560 -append "ept_access*" arch = x86_64 groups = vmx -[vmx_eoi_bitmap_ioapic_scan] +[vmx_smp] file = vmx.flat smp = 2 -extra_params = -cpu host,+vmx -m 2048 -append vmx_eoi_bitmap_ioapic_scan_test +extra_params = -cpu host,+vmx -m 2048 -append "vmx_eoi_bitmap_ioapic_scan_test vmx_apic_passthrough_thread_test" arch = x86_64 groups = vmx @@ -250,13 +250,6 @@ arch = x86_64 groups = vmx timeout = 10 -[vmx_apic_passthrough_thread] -file = vmx.flat -smp = 2 -extra_params = -cpu host,+vmx -m 2048 -append vmx_apic_passthrough_thread_test -arch = x86_64 -groups = vmx - [vmcs_shadow] file = vmx.flat extra_params = -cpu host,+vmx -append vmx_vmcs_shadow_test