From nobody Wed Nov 27 03:50:09 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1701100245; cv=none; d=zohomail.com; s=zohoarc; b=CRIKGWzSc8abutBmYKnQaiKpN5pfVTP6xyUeWAI788lshROCUT9g01iXxkkATTzL4awT1XTvOJg/ZzRlpM8CNTBXcKSeh5pUXKQOi6LH3y260rsTW5WZHO7wst7DlgFiHJpewdwrDwQQiY5OkCeysitUQkRBLseuck0wlQEXfjQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1701100245; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=+h1B3FNEKZwrM7XDfAnFdu2cPNTxmQ1n0WV4W8b/7Ws=; b=QSwQb4NKL82HpD9gpl5hZ75IY7cevHuVExhOVQCXeEwerQ+CHLCEx5GCsQMRUGsDyN1fbvZc11GaJLSJuIlXLs+KzxcWTBgnxIPPehgnaZVscQoemy5NTvX2SrME4syTHfa1R9wDCSpzafi03FSdpczLyu71k/ClHvgQw+/bGLc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1701100245895555.108906449193; Mon, 27 Nov 2023 07:50:45 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7ds0-00047x-0M; Mon, 27 Nov 2023 10:50:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7drw-00045i-BD for qemu-devel@nongnu.org; Mon, 27 Nov 2023 10:49:56 -0500 Received: from mgamail.intel.com ([192.55.52.88]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7dru-0006s1-43 for qemu-devel@nongnu.org; Mon, 27 Nov 2023 10:49:56 -0500 Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 07:49:49 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by orsmga008.jf.intel.com with ESMTP; 27 Nov 2023 07:49:47 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701100194; x=1732636194; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=tScOKRTWyNwoZDet8u6qjATSK7fwOtXymQ1UWotw77c=; b=QW/7fP3hL0H41xssaMNClqPAbFmMssrM2D9CA5uM7eB3hLxlJ4crQWDY REVquWizABqaYT5HPwy+s4N1LD59nkcq2Ztbew4N20H2RmXvFM+Ao7RxQ dbNwpebRCmFCaotiyGBgl0VOgv8NzsOG6iedCLjKIqpnpejJTExd8bCRG FSRW5kECfia4/vBCUsxEmUsshm8YzCRI86mDGSLgdRAbgZumc5trTmJPS BstPRBxViMEHaJloj+XYGMml796za3k8kZCcN/dL3HmhUcwdhTSRB3Xpx CwLkCLh7FrqAvJ3E0pDYGS09IXzRqulrc3ukS1hDq6azySTu9Qc//ucPM g==; X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="423874301" X-IronPort-AV: E=Sophos;i="6.04,231,1695711600"; d="scan'208";a="423874301" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="797272989" X-IronPort-AV: E=Sophos;i="6.04,231,1695711600"; d="scan'208";a="797272989" From: Zhao Liu To: "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , qemu-devel@nongnu.org Cc: Zhao Liu Subject: [PATCH] tests: bios-tables-test: Rename smbios type 4 related test functions Date: Tue, 28 Nov 2023 00:02:02 +0800 Message-Id: <20231127160202.1037290-1-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=192.55.52.88; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1701100247788000001 Content-Type: text/plain; charset="utf-8" From: Zhao Liu In fact, type4-count, core-count, core-count2, thread-count and thread-count2 are tested with KVM not TCG. Rename these test functions to reflect KVM base instead of TCG. Signed-off-by: Zhao Liu Reviewed-by: Igor Mammedov Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/qtest/bios-tables-test.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 71af5cf69fc5..9a7e459e8ffb 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1003,7 +1003,7 @@ static void test_acpi_q35_tcg(void) free_test_data(&data); } =20 -static void test_acpi_q35_tcg_type4_count(void) +static void test_acpi_q35_kvm_type4_count(void) { test_data data =3D { .machine =3D MACHINE_Q35, @@ -1019,7 +1019,7 @@ static void test_acpi_q35_tcg_type4_count(void) free_test_data(&data); } =20 -static void test_acpi_q35_tcg_core_count(void) +static void test_acpi_q35_kvm_core_count(void) { test_data data =3D { .machine =3D MACHINE_Q35, @@ -1036,7 +1036,7 @@ static void test_acpi_q35_tcg_core_count(void) free_test_data(&data); } =20 -static void test_acpi_q35_tcg_core_count2(void) +static void test_acpi_q35_kvm_core_count2(void) { test_data data =3D { .machine =3D MACHINE_Q35, @@ -1053,7 +1053,7 @@ static void test_acpi_q35_tcg_core_count2(void) free_test_data(&data); } =20 -static void test_acpi_q35_tcg_thread_count(void) +static void test_acpi_q35_kvm_thread_count(void) { test_data data =3D { .machine =3D MACHINE_Q35, @@ -1070,7 +1070,7 @@ static void test_acpi_q35_tcg_thread_count(void) free_test_data(&data); } =20 -static void test_acpi_q35_tcg_thread_count2(void) +static void test_acpi_q35_kvm_thread_count2(void) { test_data data =3D { .machine =3D MACHINE_Q35, @@ -2250,15 +2250,15 @@ int main(int argc, char *argv[]) qtest_add_func("acpi/q35/kvm/xapic", test_acpi_q35_kvm_xap= ic); qtest_add_func("acpi/q35/kvm/dmar", test_acpi_q35_kvm_dmar= ); qtest_add_func("acpi/q35/type4-count", - test_acpi_q35_tcg_type4_count); + test_acpi_q35_kvm_type4_count); qtest_add_func("acpi/q35/core-count", - test_acpi_q35_tcg_core_count); + test_acpi_q35_kvm_core_count); qtest_add_func("acpi/q35/core-count2", - test_acpi_q35_tcg_core_count2); + test_acpi_q35_kvm_core_count2); qtest_add_func("acpi/q35/thread-count", - test_acpi_q35_tcg_thread_count); + test_acpi_q35_kvm_thread_count); qtest_add_func("acpi/q35/thread-count2", - test_acpi_q35_tcg_thread_count2); + test_acpi_q35_kvm_thread_count2); } if (qtest_has_device("virtio-iommu-pci")) { qtest_add_func("acpi/q35/viot", test_acpi_q35_viot); --=20 2.34.1