From nobody Mon Feb 9 00:46:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1662141664; cv=none; d=zohomail.com; s=zohoarc; b=XqiERHgBLR0yOrB5T0RCa3WZzQhrREhcCHhk6wugDST7gyjHzIv/c2H1z/yZYDpTFb/i8JcjUtVpYtn8mf21SUU/kO+yvM8dV/1f87Hdwii9UpWaN21GcQUq5OOsjpZ9FYYA96jEeyujCCKxOnq/W37Nc1jKz8mmisEoAJEs9NM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662141664; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=29S9UTffKrKQyPl4OWI48mcDfPlWCNLvv1oluJIHoSY=; b=CvvR643hoSZwBsrLNDOfm5ONzUz0GPCglPYUzV3/iRxJ0XFCKqppU3ydpPgODllLzMjRN+YcPNDXeiCfXrewzBHFADNRv1aTg9EkcXJ+ikalb7ef//sA/uZeFr4a9fMpU8STXu0SMAi8JkrnKJ3rN3+JXcWMVpwHGZExnh9jjU0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1662141664398201.02930702263927; Fri, 2 Sep 2022 11:01:04 -0700 (PDT) Received: from localhost ([::1]:50022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUAyV-0002Kn-DU for importer@patchew.org; Fri, 02 Sep 2022 14:01:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZP-00060N-Bn for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:07 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:39424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZM-0007Fo-4E for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:05 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-92-Su__UDdKPwmiWJCondyHew-1; Fri, 02 Sep 2022 13:34:58 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4CD803C10153; Fri, 2 Sep 2022 17:34:58 +0000 (UTC) Received: from secure.mitica (unknown [10.39.192.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 07690C15BB3; Fri, 2 Sep 2022 17:34:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662140102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=29S9UTffKrKQyPl4OWI48mcDfPlWCNLvv1oluJIHoSY=; b=XCmypfjX5iltaoQkokqctUjToI0l3ttZZ5qhOc8eNrrn4NNCDeqmnQH3YRKRqrU8Rt6UV3 UfFkxr9FA4zVscZvnyfcB6KWHefkVJVZ16Y+xR7AiIHCB4HugTc1M7ZyHXldOYD8i+HY+1 OTX9MSh4Vm0R52Vw6Bh0NP0yuW7ZIDk= X-MC-Unique: Su__UDdKPwmiWJCondyHew-1 From: Juan Quintela To: qemu-devel@nongnu.org Cc: Bandan Das , Darren Kenny , Alexander Bulekov , Paolo Bonzini , Stefan Hajnoczi , Igor Mammedov , Thomas Huth , Ani Sinha , Gerd Hoffmann , Qiuhao Li , "Michael S. Tsirkin" , Laurent Vivier , Juan Quintela Subject: [PATCH 1/8] bios-tables-test: Make oem-fields tests be consistent Date: Fri, 2 Sep 2022 19:34:45 +0200 Message-Id: <20220902173452.1904-2-quintela@redhat.com> In-Reply-To: <20220902173452.1904-1-quintela@redhat.com> References: <20220902173452.1904-1-quintela@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 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: pass client-ip=170.10.133.124; envelope-from=quintela@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1662141664681100001 Content-Type: text/plain; charset="utf-8" Every other test function is named: test_acpi__() Just make this test the same. Once there, rename "acpi/oem-fields" to "acpi/piix4/oem-fields" so it is consistent with everything else. Signed-off-by: Juan Quintela Reviewed-by: Ani Sinha Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/qtest/bios-tables-test.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index a0853744ae..1e808b0864 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1671,7 +1671,7 @@ static void test_oem_fields(test_data *data) } } =20 -static void test_acpi_oem_fields_pc(void) +static void test_acpi_piix4_oem_fields(void) { test_data data; char *args; @@ -1691,7 +1691,7 @@ static void test_acpi_oem_fields_pc(void) g_free(args); } =20 -static void test_acpi_oem_fields_q35(void) +static void test_acpi_q35_oem_fields(void) { test_data data; char *args; @@ -1711,7 +1711,7 @@ static void test_acpi_oem_fields_q35(void) g_free(args); } =20 -static void test_acpi_oem_fields_microvm(void) +static void test_acpi_microvm_oem_fields(void) { test_data data; char *args; @@ -1728,7 +1728,7 @@ static void test_acpi_oem_fields_microvm(void) g_free(args); } =20 -static void test_acpi_oem_fields_virt(void) +static void test_acpi_virt_oem_fields(void) { test_data data =3D { .machine =3D "virt", @@ -1766,13 +1766,13 @@ int main(int argc, char *argv[]) if (ret) { return ret; } - qtest_add_func("acpi/q35/oem-fields", test_acpi_oem_fields_q35); + qtest_add_func("acpi/q35/oem-fields", test_acpi_q35_oem_fields); if (tpm_model_is_available("-machine q35", "tpm-tis")) { qtest_add_func("acpi/q35/tpm2-tis", test_acpi_q35_tcg_tpm2_tis= ); qtest_add_func("acpi/q35/tpm12-tis", test_acpi_q35_tcg_tpm12_t= is); } qtest_add_func("acpi/piix4", test_acpi_piix4_tcg); - qtest_add_func("acpi/oem-fields", test_acpi_oem_fields_pc); + qtest_add_func("acpi/piix4/oem-fields", test_acpi_piix4_oem_fields= ); qtest_add_func("acpi/piix4/bridge", test_acpi_piix4_tcg_bridge); qtest_add_func("acpi/piix4/pci-hotplug/no_root_hotplug", test_acpi_piix4_no_root_hotplug); @@ -1819,7 +1819,7 @@ int main(int argc, char *argv[]) qtest_add_func("acpi/microvm/usb", test_acpi_microvm_usb_tcg); qtest_add_func("acpi/microvm/rtc", test_acpi_microvm_rtc_tcg); qtest_add_func("acpi/microvm/ioapic2", test_acpi_microvm_ioapic2_t= cg); - qtest_add_func("acpi/microvm/oem-fields", test_acpi_oem_fields_mic= rovm); + qtest_add_func("acpi/microvm/oem-fields", test_acpi_microvm_oem_fi= elds); if (has_tcg) { qtest_add_func("acpi/q35/ivrs", test_acpi_q35_tcg_ivrs); if (strcmp(arch, "x86_64") =3D=3D 0) { @@ -1844,7 +1844,7 @@ int main(int argc, char *argv[]) qtest_add_func("acpi/virt/numamem", test_acpi_virt_tcg_numamem= ); qtest_add_func("acpi/virt/memhp", test_acpi_virt_tcg_memhp); qtest_add_func("acpi/virt/pxb", test_acpi_virt_tcg_pxb); - qtest_add_func("acpi/virt/oem-fields", test_acpi_oem_fields_vi= rt); + qtest_add_func("acpi/virt/oem-fields", test_acpi_virt_oem_fiel= ds); qtest_add_func("acpi/virt/viot", test_acpi_virt_viot); } } --=20 2.37.2 From nobody Mon Feb 9 00:46:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1662140665; cv=none; d=zohomail.com; s=zohoarc; b=QzUgy7rZ9PbNooEAMGAhj73dDVy0TrQ66TYcgNan8xg9YIRsTHlCGE5pKIU/ZSPxbFubLiWZWRwdBuTshqXR+Kd1rnoZ6GAd1KBXWMTi/26Nk7pSgchMYJf9F5wPWOMH4KC0G38Bxd58E2WEhMxe1KTyd2nvOTEo/WJS7lggiu4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662140665; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=SbjtPo/xyC9prLBoKjq9RpH2MHSAx76NbYPXCuH+nAA=; b=FJoaQdEUBrL27W4aeFaNe/TCw1PlxHKzu//s9yZL9YiV+hauuaEDlFxQqMb3kGYaQFPn74KAhP9GqJOWvhBEr9fOyJMznQZUjqcps+39GIpW65jtPN7Ia2GYnUHnAHA6Hshw6fSv81lz8tgOGzewZa/wq2zas3yo26AC/+q5DgM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1662140665247808.6703117302209; Fri, 2 Sep 2022 10:44:25 -0700 (PDT) Received: from localhost ([::1]:49604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUAiN-0004LA-Tv for importer@patchew.org; Fri, 02 Sep 2022 13:44:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZR-00063A-2a for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:09 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:48704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZP-0007Or-BQ for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:08 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-251-LVCmaZfRP2y_Ssy_Zt2Auw-1; Fri, 02 Sep 2022 13:35:01 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EAAB885A589; Fri, 2 Sep 2022 17:35:00 +0000 (UTC) Received: from secure.mitica (unknown [10.39.192.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9528EC15BB3; Fri, 2 Sep 2022 17:34:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662140106; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SbjtPo/xyC9prLBoKjq9RpH2MHSAx76NbYPXCuH+nAA=; b=Og5072ooLLFh9/xAWMMcdgbvvWbevEFWKWU+8RfJgrjCqYeODji7//A+qTJ84qCfdaqldb 4i2KVIf0Zmxje1xEeqpkKdgTTAoL/6C4EGXzmuOtygI0MKoplrhRBzqhN15JNCZjFq0E6/ EAtTjaBSRJOlg26JIHquxrK86ifS8NY= X-MC-Unique: LVCmaZfRP2y_Ssy_Zt2Auw-1 From: Juan Quintela To: qemu-devel@nongnu.org Cc: Bandan Das , Darren Kenny , Alexander Bulekov , Paolo Bonzini , Stefan Hajnoczi , Igor Mammedov , Thomas Huth , Ani Sinha , Gerd Hoffmann , Qiuhao Li , "Michael S. Tsirkin" , Laurent Vivier , Juan Quintela Subject: [PATCH 2/8] bios-tables-test: Sort all x86_64 tests by machine type Date: Fri, 2 Sep 2022 19:34:46 +0200 Message-Id: <20220902173452.1904-3-quintela@redhat.com> In-Reply-To: <20220902173452.1904-1-quintela@redhat.com> References: <20220902173452.1904-1-quintela@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 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: pass client-ip=170.10.129.124; envelope-from=quintela@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-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" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1662140665851100001 Content-Type: text/plain; charset="utf-8" No code change here, just move test around. Signed-off-by: Juan Quintela Reviewed-by: Ani Sinha --- tests/qtest/bios-tables-test.c | 60 +++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 27 deletions(-) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 1e808b0864..757db2bc40 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1766,11 +1766,6 @@ int main(int argc, char *argv[]) if (ret) { return ret; } - qtest_add_func("acpi/q35/oem-fields", test_acpi_q35_oem_fields); - if (tpm_model_is_available("-machine q35", "tpm-tis")) { - qtest_add_func("acpi/q35/tpm2-tis", test_acpi_q35_tcg_tpm2_tis= ); - qtest_add_func("acpi/q35/tpm12-tis", test_acpi_q35_tcg_tpm12_t= is); - } qtest_add_func("acpi/piix4", test_acpi_piix4_tcg); qtest_add_func("acpi/piix4/oem-fields", test_acpi_piix4_oem_fields= ); qtest_add_func("acpi/piix4/bridge", test_acpi_piix4_tcg_bridge); @@ -1780,48 +1775,68 @@ int main(int argc, char *argv[]) test_acpi_piix4_no_bridge_hotplug); qtest_add_func("acpi/piix4/pci-hotplug/off", test_acpi_piix4_no_acpi_pci_hotplug); - qtest_add_func("acpi/q35", test_acpi_q35_tcg); - qtest_add_func("acpi/q35/bridge", test_acpi_q35_tcg_bridge); - qtest_add_func("acpi/q35/multif-bridge", test_acpi_q35_multif_brid= ge); - qtest_add_func("acpi/q35/mmio64", test_acpi_q35_tcg_mmio64); qtest_add_func("acpi/piix4/ipmi", test_acpi_piix4_tcg_ipmi); - qtest_add_func("acpi/q35/ipmi", test_acpi_q35_tcg_ipmi); - qtest_add_func("acpi/q35/smbus/ipmi", test_acpi_q35_tcg_smbus_ipmi= ); qtest_add_func("acpi/piix4/cpuhp", test_acpi_piix4_tcg_cphp); - qtest_add_func("acpi/q35/cpuhp", test_acpi_q35_tcg_cphp); qtest_add_func("acpi/piix4/memhp", test_acpi_piix4_tcg_memhp); - qtest_add_func("acpi/q35/memhp", test_acpi_q35_tcg_memhp); qtest_add_func("acpi/piix4/numamem", test_acpi_piix4_tcg_numamem); - qtest_add_func("acpi/q35/numamem", test_acpi_q35_tcg_numamem); qtest_add_func("acpi/piix4/nosmm", test_acpi_piix4_tcg_nosmm); qtest_add_func("acpi/piix4/smm-compat", test_acpi_piix4_tcg_smm_compat); qtest_add_func("acpi/piix4/smm-compat-nosmm", test_acpi_piix4_tcg_smm_compat_nosmm); qtest_add_func("acpi/piix4/nohpet", test_acpi_piix4_tcg_nohpet); + qtest_add_func("acpi/piix4/dimmpxm", test_acpi_piix4_tcg_dimm_pxm); + qtest_add_func("acpi/piix4/acpihmat", test_acpi_piix4_tcg_acpi_hma= t); +#ifdef CONFIG_POSIX + qtest_add_func("acpi/piix4/acpierst", test_acpi_piix4_acpi_erst); +#endif + + qtest_add_func("acpi/q35", test_acpi_q35_tcg); + qtest_add_func("acpi/q35/oem-fields", test_acpi_q35_oem_fields); + if (tpm_model_is_available("-machine q35", "tpm-tis")) { + qtest_add_func("acpi/q35/tpm2-tis", test_acpi_q35_tcg_tpm2_tis= ); + qtest_add_func("acpi/q35/tpm12-tis", test_acpi_q35_tcg_tpm12_t= is); + } + qtest_add_func("acpi/q35/bridge", test_acpi_q35_tcg_bridge); + qtest_add_func("acpi/q35/multif-bridge", test_acpi_q35_multif_brid= ge); + qtest_add_func("acpi/q35/mmio64", test_acpi_q35_tcg_mmio64); + qtest_add_func("acpi/q35/ipmi", test_acpi_q35_tcg_ipmi); + qtest_add_func("acpi/q35/smbus/ipmi", test_acpi_q35_tcg_smbus_ipmi= ); + qtest_add_func("acpi/q35/cpuhp", test_acpi_q35_tcg_cphp); + qtest_add_func("acpi/q35/memhp", test_acpi_q35_tcg_memhp); + qtest_add_func("acpi/q35/numamem", test_acpi_q35_tcg_numamem); qtest_add_func("acpi/q35/nosmm", test_acpi_q35_tcg_nosmm); qtest_add_func("acpi/q35/smm-compat", test_acpi_q35_tcg_smm_compat); qtest_add_func("acpi/q35/smm-compat-nosmm", test_acpi_q35_tcg_smm_compat_nosmm); qtest_add_func("acpi/q35/nohpet", test_acpi_q35_tcg_nohpet); - qtest_add_func("acpi/piix4/dimmpxm", test_acpi_piix4_tcg_dimm_pxm); qtest_add_func("acpi/q35/dimmpxm", test_acpi_q35_tcg_dimm_pxm); - qtest_add_func("acpi/piix4/acpihmat", test_acpi_piix4_tcg_acpi_hma= t); qtest_add_func("acpi/q35/acpihmat", test_acpi_q35_tcg_acpi_hmat); #ifdef CONFIG_POSIX - qtest_add_func("acpi/piix4/acpierst", test_acpi_piix4_acpi_erst); qtest_add_func("acpi/q35/acpierst", test_acpi_q35_acpi_erst); #endif qtest_add_func("acpi/q35/applesmc", test_acpi_q35_applesmc); qtest_add_func("acpi/q35/pvpanic-isa", test_acpi_q35_pvpanic_isa); + if (has_tcg) { + qtest_add_func("acpi/q35/ivrs", test_acpi_q35_tcg_ivrs); + } + if (has_kvm) { + qtest_add_func("acpi/q35/kvm/xapic", test_acpi_q35_kvm_xapic); + qtest_add_func("acpi/q35/kvm/dmar", test_acpi_q35_kvm_dmar); + } + qtest_add_func("acpi/q35/viot", test_acpi_q35_viot); +#ifdef CONFIG_POSIX + qtest_add_func("acpi/q35/cxl", test_acpi_q35_cxl); +#endif + qtest_add_func("acpi/q35/slic", test_acpi_q35_slic); + qtest_add_func("acpi/microvm", test_acpi_microvm_tcg); qtest_add_func("acpi/microvm/usb", test_acpi_microvm_usb_tcg); qtest_add_func("acpi/microvm/rtc", test_acpi_microvm_rtc_tcg); qtest_add_func("acpi/microvm/ioapic2", test_acpi_microvm_ioapic2_t= cg); qtest_add_func("acpi/microvm/oem-fields", test_acpi_microvm_oem_fi= elds); if (has_tcg) { - qtest_add_func("acpi/q35/ivrs", test_acpi_q35_tcg_ivrs); if (strcmp(arch, "x86_64") =3D=3D 0) { qtest_add_func("acpi/microvm/pcie", test_acpi_microvm_pcie= _tcg); #ifdef CONFIG_POSIX @@ -1829,15 +1844,6 @@ int main(int argc, char *argv[]) #endif } } - if (has_kvm) { - qtest_add_func("acpi/q35/kvm/xapic", test_acpi_q35_kvm_xapic); - qtest_add_func("acpi/q35/kvm/dmar", test_acpi_q35_kvm_dmar); - } - qtest_add_func("acpi/q35/viot", test_acpi_q35_viot); -#ifdef CONFIG_POSIX - qtest_add_func("acpi/q35/cxl", test_acpi_q35_cxl); -#endif - qtest_add_func("acpi/q35/slic", test_acpi_q35_slic); } else if (strcmp(arch, "aarch64") =3D=3D 0) { if (has_tcg) { qtest_add_func("acpi/virt", test_acpi_virt_tcg); --=20 2.37.2 From nobody Mon Feb 9 00:46:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1662141172; cv=none; d=zohomail.com; s=zohoarc; b=gUG7hTBv/GoiEvU9yBojii+uZOv04R4NH16yNiBTa1KoT6PhAdxdSMYV8AJ9LsFKAEhJ6FaH7ahW8deoiy6RuPLL7Pg5Su+0+YwMOvezZAmD040WOY7a1uY6K6+QwKVI+6bhGiyfdIBCG6gKCFJe7Bmj1HCWZhHA62GcaphLY+Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662141172; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=AKw1lpPmOlCevZorhhPgkKGM3YQ8jWHGdINeSk7DJkU=; b=IiCq9BzqM9EUYkbwYFKyMGA48pdcArY8qnqh9pALL7MWfgexcwRTLqRtSJw2a3kfKfULMWaSTLg+tYNWpNczX313p2h9I0zxkvsmu99kPoOGvEqlUR5cy9BIbUkV184NO4DbU13mJmZI7fWqPc8dFxRZHMwNCtjWlDMlceKC2H8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 16621411720031016.8286597480624; Fri, 2 Sep 2022 10:52:52 -0700 (PDT) Received: from localhost ([::1]:46416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUAqY-00019M-BA for importer@patchew.org; Fri, 02 Sep 2022 13:52:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZS-00064M-U9 for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:11 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:26449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZQ-0007PG-0b for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:09 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-606-FrErM9nDPrybM0HfakzR-g-1; Fri, 02 Sep 2022 13:35:04 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 23A7638149A8; Fri, 2 Sep 2022 17:35:04 +0000 (UTC) Received: from secure.mitica (unknown [10.39.192.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 404BBC15BB3; Fri, 2 Sep 2022 17:35:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662140107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AKw1lpPmOlCevZorhhPgkKGM3YQ8jWHGdINeSk7DJkU=; b=DKuB85xehrXPkkOUUxyVvjyRDConlkFbvA36MBHY+r2f2wixZgD/wnvLwpdBbx9EQU7mN3 l0sKClzF8gERqSBEjp/b3lyO1PLKImrDi2fGrpo7aKMN3/u6D2bsqX9NBP9i8jSYL2+eto NZCup5zp64qP2dk/0ZQ8kSF+KpD/MvA= X-MC-Unique: FrErM9nDPrybM0HfakzR-g-1 From: Juan Quintela To: qemu-devel@nongnu.org Cc: Bandan Das , Darren Kenny , Alexander Bulekov , Paolo Bonzini , Stefan Hajnoczi , Igor Mammedov , Thomas Huth , Ani Sinha , Gerd Hoffmann , Qiuhao Li , "Michael S. Tsirkin" , Laurent Vivier , Juan Quintela Subject: [PATCH 3/8] bios-tables-test: Only run test for machine types compiled in Date: Fri, 2 Sep 2022 19:34:47 +0200 Message-Id: <20220902173452.1904-4-quintela@redhat.com> In-Reply-To: <20220902173452.1904-1-quintela@redhat.com> References: <20220902173452.1904-1-quintela@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 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: pass client-ip=170.10.133.124; envelope-from=quintela@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1662141173538100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/qtest/bios-tables-test.c | 145 ++++++++++++++++++--------------- 1 file changed, 78 insertions(+), 67 deletions(-) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 757db2bc40..bc216cac95 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1766,82 +1766,93 @@ int main(int argc, char *argv[]) if (ret) { return ret; } - qtest_add_func("acpi/piix4", test_acpi_piix4_tcg); - qtest_add_func("acpi/piix4/oem-fields", test_acpi_piix4_oem_fields= ); - qtest_add_func("acpi/piix4/bridge", test_acpi_piix4_tcg_bridge); - qtest_add_func("acpi/piix4/pci-hotplug/no_root_hotplug", - test_acpi_piix4_no_root_hotplug); - qtest_add_func("acpi/piix4/pci-hotplug/no_bridge_hotplug", - test_acpi_piix4_no_bridge_hotplug); - qtest_add_func("acpi/piix4/pci-hotplug/off", - test_acpi_piix4_no_acpi_pci_hotplug); - qtest_add_func("acpi/piix4/ipmi", test_acpi_piix4_tcg_ipmi); - qtest_add_func("acpi/piix4/cpuhp", test_acpi_piix4_tcg_cphp); - qtest_add_func("acpi/piix4/memhp", test_acpi_piix4_tcg_memhp); - qtest_add_func("acpi/piix4/numamem", test_acpi_piix4_tcg_numamem); - qtest_add_func("acpi/piix4/nosmm", test_acpi_piix4_tcg_nosmm); - qtest_add_func("acpi/piix4/smm-compat", - test_acpi_piix4_tcg_smm_compat); - qtest_add_func("acpi/piix4/smm-compat-nosmm", - test_acpi_piix4_tcg_smm_compat_nosmm); - qtest_add_func("acpi/piix4/nohpet", test_acpi_piix4_tcg_nohpet); - qtest_add_func("acpi/piix4/dimmpxm", test_acpi_piix4_tcg_dimm_pxm); - qtest_add_func("acpi/piix4/acpihmat", test_acpi_piix4_tcg_acpi_hma= t); + if (qtest_has_machine(MACHINE_PC)) { + qtest_add_func("acpi/piix4", test_acpi_piix4_tcg); + qtest_add_func("acpi/piix4/oem-fields", test_acpi_piix4_oem_fi= elds); + qtest_add_func("acpi/piix4/bridge", test_acpi_piix4_tcg_bridge= ); + qtest_add_func("acpi/piix4/pci-hotplug/no_root_hotplug", + test_acpi_piix4_no_root_hotplug); + qtest_add_func("acpi/piix4/pci-hotplug/no_bridge_hotplug", + test_acpi_piix4_no_bridge_hotplug); + qtest_add_func("acpi/piix4/pci-hotplug/off", + test_acpi_piix4_no_acpi_pci_hotplug); + qtest_add_func("acpi/piix4/ipmi", test_acpi_piix4_tcg_ipmi); + qtest_add_func("acpi/piix4/cpuhp", test_acpi_piix4_tcg_cphp); + qtest_add_func("acpi/piix4/memhp", test_acpi_piix4_tcg_memhp); + qtest_add_func("acpi/piix4/numamem", test_acpi_piix4_tcg_numam= em); + qtest_add_func("acpi/piix4/nosmm", test_acpi_piix4_tcg_nosmm); + qtest_add_func("acpi/piix4/smm-compat", + test_acpi_piix4_tcg_smm_compat); + qtest_add_func("acpi/piix4/smm-compat-nosmm", + test_acpi_piix4_tcg_smm_compat_nosmm); + qtest_add_func("acpi/piix4/nohpet", test_acpi_piix4_tcg_nohpet= ); + qtest_add_func("acpi/piix4/dimmpxm", test_acpi_piix4_tcg_dimm_= pxm); + qtest_add_func("acpi/piix4/acpihmat", + test_acpi_piix4_tcg_acpi_hmat); #ifdef CONFIG_POSIX - qtest_add_func("acpi/piix4/acpierst", test_acpi_piix4_acpi_erst); + qtest_add_func("acpi/piix4/acpierst", test_acpi_piix4_acpi_ers= t); #endif - - qtest_add_func("acpi/q35", test_acpi_q35_tcg); - qtest_add_func("acpi/q35/oem-fields", test_acpi_q35_oem_fields); - if (tpm_model_is_available("-machine q35", "tpm-tis")) { - qtest_add_func("acpi/q35/tpm2-tis", test_acpi_q35_tcg_tpm2_tis= ); - qtest_add_func("acpi/q35/tpm12-tis", test_acpi_q35_tcg_tpm12_t= is); } - qtest_add_func("acpi/q35/bridge", test_acpi_q35_tcg_bridge); - qtest_add_func("acpi/q35/multif-bridge", test_acpi_q35_multif_brid= ge); - qtest_add_func("acpi/q35/mmio64", test_acpi_q35_tcg_mmio64); - qtest_add_func("acpi/q35/ipmi", test_acpi_q35_tcg_ipmi); - qtest_add_func("acpi/q35/smbus/ipmi", test_acpi_q35_tcg_smbus_ipmi= ); - qtest_add_func("acpi/q35/cpuhp", test_acpi_q35_tcg_cphp); - qtest_add_func("acpi/q35/memhp", test_acpi_q35_tcg_memhp); - qtest_add_func("acpi/q35/numamem", test_acpi_q35_tcg_numamem); - qtest_add_func("acpi/q35/nosmm", test_acpi_q35_tcg_nosmm); - qtest_add_func("acpi/q35/smm-compat", - test_acpi_q35_tcg_smm_compat); - qtest_add_func("acpi/q35/smm-compat-nosmm", - test_acpi_q35_tcg_smm_compat_nosmm); - qtest_add_func("acpi/q35/nohpet", test_acpi_q35_tcg_nohpet); - qtest_add_func("acpi/q35/dimmpxm", test_acpi_q35_tcg_dimm_pxm); - qtest_add_func("acpi/q35/acpihmat", test_acpi_q35_tcg_acpi_hmat); + if (qtest_has_machine(MACHINE_Q35)) { + qtest_add_func("acpi/q35", test_acpi_q35_tcg); + qtest_add_func("acpi/q35/oem-fields", test_acpi_q35_oem_fields= ); + if (tpm_model_is_available("-machine q35", "tpm-tis")) { + qtest_add_func("acpi/q35/tpm2-tis", test_acpi_q35_tcg_tpm2= _tis); + qtest_add_func("acpi/q35/tpm12-tis", + test_acpi_q35_tcg_tpm12_tis); + } + qtest_add_func("acpi/q35/bridge", test_acpi_q35_tcg_bridge); + qtest_add_func("acpi/q35/multif-bridge", + test_acpi_q35_multif_bridge); + qtest_add_func("acpi/q35/mmio64", test_acpi_q35_tcg_mmio64); + qtest_add_func("acpi/q35/ipmi", test_acpi_q35_tcg_ipmi); + qtest_add_func("acpi/q35/smbus/ipmi", test_acpi_q35_tcg_smbus_= ipmi); + qtest_add_func("acpi/q35/cpuhp", test_acpi_q35_tcg_cphp); + qtest_add_func("acpi/q35/memhp", test_acpi_q35_tcg_memhp); + qtest_add_func("acpi/q35/numamem", test_acpi_q35_tcg_numamem); + qtest_add_func("acpi/q35/nosmm", test_acpi_q35_tcg_nosmm); + qtest_add_func("acpi/q35/smm-compat", + test_acpi_q35_tcg_smm_compat); + qtest_add_func("acpi/q35/smm-compat-nosmm", + test_acpi_q35_tcg_smm_compat_nosmm); + qtest_add_func("acpi/q35/nohpet", test_acpi_q35_tcg_nohpet); + qtest_add_func("acpi/q35/dimmpxm", test_acpi_q35_tcg_dimm_pxm); + qtest_add_func("acpi/q35/acpihmat", test_acpi_q35_tcg_acpi_hma= t); #ifdef CONFIG_POSIX - qtest_add_func("acpi/q35/acpierst", test_acpi_q35_acpi_erst); + qtest_add_func("acpi/q35/acpierst", test_acpi_q35_acpi_erst); #endif - qtest_add_func("acpi/q35/applesmc", test_acpi_q35_applesmc); - qtest_add_func("acpi/q35/pvpanic-isa", test_acpi_q35_pvpanic_isa); - if (has_tcg) { - qtest_add_func("acpi/q35/ivrs", test_acpi_q35_tcg_ivrs); - } - if (has_kvm) { - qtest_add_func("acpi/q35/kvm/xapic", test_acpi_q35_kvm_xapic); - qtest_add_func("acpi/q35/kvm/dmar", test_acpi_q35_kvm_dmar); - } - qtest_add_func("acpi/q35/viot", test_acpi_q35_viot); + qtest_add_func("acpi/q35/applesmc", test_acpi_q35_applesmc); + qtest_add_func("acpi/q35/pvpanic-isa", test_acpi_q35_pvpanic_i= sa); + if (has_tcg) { + qtest_add_func("acpi/q35/ivrs", test_acpi_q35_tcg_ivrs); + } + if (has_kvm) { + 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/viot", test_acpi_q35_viot); #ifdef CONFIG_POSIX - qtest_add_func("acpi/q35/cxl", test_acpi_q35_cxl); + qtest_add_func("acpi/q35/cxl", test_acpi_q35_cxl); #endif - qtest_add_func("acpi/q35/slic", test_acpi_q35_slic); - - qtest_add_func("acpi/microvm", test_acpi_microvm_tcg); - qtest_add_func("acpi/microvm/usb", test_acpi_microvm_usb_tcg); - qtest_add_func("acpi/microvm/rtc", test_acpi_microvm_rtc_tcg); - qtest_add_func("acpi/microvm/ioapic2", test_acpi_microvm_ioapic2_t= cg); - qtest_add_func("acpi/microvm/oem-fields", test_acpi_microvm_oem_fi= elds); - if (has_tcg) { - if (strcmp(arch, "x86_64") =3D=3D 0) { - qtest_add_func("acpi/microvm/pcie", test_acpi_microvm_pcie= _tcg); + qtest_add_func("acpi/q35/slic", test_acpi_q35_slic); + } + if (qtest_has_machine("microvm")) { + qtest_add_func("acpi/microvm", test_acpi_microvm_tcg); + qtest_add_func("acpi/microvm/usb", test_acpi_microvm_usb_tcg); + qtest_add_func("acpi/microvm/rtc", test_acpi_microvm_rtc_tcg); + qtest_add_func("acpi/microvm/ioapic2", + test_acpi_microvm_ioapic2_tcg); + qtest_add_func("acpi/microvm/oem-fields", + test_acpi_microvm_oem_fields); + if (has_tcg) { + if (strcmp(arch, "x86_64") =3D=3D 0) { + qtest_add_func("acpi/microvm/pcie", + test_acpi_microvm_pcie_tcg); #ifdef CONFIG_POSIX - qtest_add_func("acpi/microvm/acpierst", test_acpi_microvm_= acpi_erst); + qtest_add_func("acpi/microvm/acpierst", + test_acpi_microvm_acpi_erst); #endif + } } } } else if (strcmp(arch, "aarch64") =3D=3D 0) { --=20 2.37.2 From nobody Mon Feb 9 00:46:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1662141589; cv=none; d=zohomail.com; s=zohoarc; b=PW7tmH35tLIpPvFmW0DpGrfDCD5OzBxXc+kx/Ex4JfvmwEyO0G6t+hq/mwvxtWDJhwLj2T6g06oQmjdro+a+hGE++uAhtNBCbVE9OLOYpKXtuqEG4G88QI1phWWIlQ9ArpOmCMFiDymw42Xnb6Elj6VfvNGPrmmW648jr0Mni4A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662141589; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=FQdll7nGgspri6jdxOdATRvEXY0Mon2mwz4f1NoThw0=; b=RmSQInEbGjmAcVmSyf7Ccn/71dktDYb1viqPLJqOC4IYd1PruVk8VNwcYx1ljJ9EXkql4ckgz6R2hKmkB/Dh+tqDZJAjJQmppsdPP1GzLFJd064lAGIrCaK/yzdqjyE2QCPIsp/eyi9WbMq5ZVx0BfMtJzaetEuh2zNMB20tcfw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1662141589926291.96620067613117; Fri, 2 Sep 2022 10:59:49 -0700 (PDT) Received: from localhost ([::1]:54720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUAxH-0000wN-33 for importer@patchew.org; Fri, 02 Sep 2022 13:59:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZU-00067z-4I for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:12 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:53466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZS-0007Pm-PD for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:11 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-339-rE7FxfhGOWmLVOPiyerjIg-1; Fri, 02 Sep 2022 13:35:07 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9F08538149B0; Fri, 2 Sep 2022 17:35:06 +0000 (UTC) Received: from secure.mitica (unknown [10.39.192.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6A7CFC15BB3; Fri, 2 Sep 2022 17:35:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662140109; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FQdll7nGgspri6jdxOdATRvEXY0Mon2mwz4f1NoThw0=; b=dBFpALu5iTXOm+RpGYlFbPQAwzgb4Nl7WSKIzfAmt9tyZHmcecUjMBQX8wbhEp9v2yhyQt Ev0wARfhcWtK7BFoDbGp2RoPUPGLRSVwBq4KMArpbUtkLzi346h0Rh+rwr/c2+bv6i8KFz 4DGqsMHRZSd3do2mG6mCt3LpDb+dK98= X-MC-Unique: rE7FxfhGOWmLVOPiyerjIg-1 From: Juan Quintela To: qemu-devel@nongnu.org Cc: Bandan Das , Darren Kenny , Alexander Bulekov , Paolo Bonzini , Stefan Hajnoczi , Igor Mammedov , Thomas Huth , Ani Sinha , Gerd Hoffmann , Qiuhao Li , "Michael S. Tsirkin" , Laurent Vivier , Juan Quintela Subject: [PATCH 4/8] tests: Only run intel-hda-tests if machine type is compiled in Date: Fri, 2 Sep 2022 19:34:48 +0200 Message-Id: <20220902173452.1904-5-quintela@redhat.com> In-Reply-To: <20220902173452.1904-1-quintela@redhat.com> References: <20220902173452.1904-1-quintela@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 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: pass client-ip=170.10.129.124; envelope-from=quintela@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-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" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1662141590366100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela Reviewed-by: Ani Sinha --- tests/qtest/intel-hda-test.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/qtest/intel-hda-test.c b/tests/qtest/intel-hda-test.c index a58c98e4d1..d4a8db6fd6 100644 --- a/tests/qtest/intel-hda-test.c +++ b/tests/qtest/intel-hda-test.c @@ -18,7 +18,7 @@ /* Tests only initialization so far. TODO: Replace with functional tests */ static void ich6_test(void) { - qtest_start("-device intel-hda,id=3D" HDA_ID CODEC_DEVICES); + qtest_start("-machine pc -device intel-hda,id=3D" HDA_ID CODEC_DEVICES= ); qtest_end(); } =20 @@ -65,9 +65,12 @@ static void test_issue542_ich6(void) int main(int argc, char **argv) { g_test_init(&argc, &argv, NULL); - qtest_add_func("/intel-hda/ich6", ich6_test); - qtest_add_func("/intel-hda/ich9", ich9_test); - qtest_add_func("/intel-hda/fuzz/issue542", test_issue542_ich6); - + if (qtest_has_machine("pc")) { + qtest_add_func("/intel-hda/ich6", ich6_test); + } + if (qtest_has_machine("q35")) { + qtest_add_func("/intel-hda/ich9", ich9_test); + qtest_add_func("/intel-hda/fuzz/issue542", test_issue542_ich6); + } return g_test_run(); } --=20 2.37.2 From nobody Mon Feb 9 00:46:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1662140493; cv=none; d=zohomail.com; s=zohoarc; b=dRQ4PnlFERLI1T56I2wf8sJs6T0JsCVLuIFckhGCOwGNQYmXSRj1/+K0G1rXk7xqzLXf4cqhc3tVNn3CULHpDHDFfye6/Hwob3+HqTs11iiAiEMJqLAtKQEnOe++MD6JXMGB8z/w9XwAWrgr5I8585FaK2IE7sE4wBIAkMMS3JM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662140493; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ApSn2KYxR7ytCk4xjPMLRcMMosHBmfw2kOsaFELK4bw=; b=K5JxtWlF2GqYfVg0IYSCs3IJzKMn4sJfeN2upYgUyRREyF5w28DbBpqGDpoo0w++yLM8NYmPq0Hc4aJ1JOpuJEBN0TicRPONfnQ8YonU2FelPJ3aUDYwxXDVoWmiUzMkuP0bcvupSlisCC2Tm6iUi2IsXwaRcRq9RIh4LUaF3RE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1662140493455355.97209035046467; Fri, 2 Sep 2022 10:41:33 -0700 (PDT) Received: from localhost ([::1]:40682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUAfc-00014f-Cm for importer@patchew.org; Fri, 02 Sep 2022 13:41:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZa-00069N-7a for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:18 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:55436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZY-0007Q6-PJ for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:17 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-538-5-z6yvA2NAGOqqYZXOBFEQ-1; Fri, 02 Sep 2022 13:35:09 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 29FE2801231; Fri, 2 Sep 2022 17:35:09 +0000 (UTC) Received: from secure.mitica (unknown [10.39.192.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id E18A2C15BB3; Fri, 2 Sep 2022 17:35:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662140112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ApSn2KYxR7ytCk4xjPMLRcMMosHBmfw2kOsaFELK4bw=; b=eu5bW723pnLNsqMHlp9j9KSmV/1SWoowniDE2znj2jAQiEAKlRCL69+k/mx2aj2x1Ry/7d bQ3MiNjCSIsgYjcUR9J9OKDfVLCpudXmLUpD+JuVav1KwO0oiVIBrY9bMSNnDQLqrLFe6M GtcTQvwQsJACOD65DWjrh9+gnaJFoq4= X-MC-Unique: 5-z6yvA2NAGOqqYZXOBFEQ-1 From: Juan Quintela To: qemu-devel@nongnu.org Cc: Bandan Das , Darren Kenny , Alexander Bulekov , Paolo Bonzini , Stefan Hajnoczi , Igor Mammedov , Thomas Huth , Ani Sinha , Gerd Hoffmann , Qiuhao Li , "Michael S. Tsirkin" , Laurent Vivier , Juan Quintela Subject: [PATCH 5/8] tests: sb16 has both pc and q35 tests Date: Fri, 2 Sep 2022 19:34:49 +0200 Message-Id: <20220902173452.1904-6-quintela@redhat.com> In-Reply-To: <20220902173452.1904-1-quintela@redhat.com> References: <20220902173452.1904-1-quintela@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 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: pass client-ip=170.10.133.124; envelope-from=quintela@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1662140494193100001 Content-Type: text/plain; charset="utf-8" Check that the machines are compiled in before calling it Signed-off-by: Juan Quintela --- tests/qtest/fuzz-sb16-test.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/qtest/fuzz-sb16-test.c b/tests/qtest/fuzz-sb16-test.c index dd1b4b307f..fc445b1871 100644 --- a/tests/qtest/fuzz-sb16-test.c +++ b/tests/qtest/fuzz-sb16-test.c @@ -57,9 +57,13 @@ int main(int argc, char **argv) { g_test_init(&argc, &argv, NULL); =20 - qtest_add_func("fuzz/test_fuzz_sb16/1c", test_fuzz_sb16_0x1c); - qtest_add_func("fuzz/test_fuzz_sb16/91", test_fuzz_sb16_0x91); - qtest_add_func("fuzz/test_fuzz_sb16/d4", test_fuzz_sb16_0xd4); + if (qtest_has_machine("q35")) { + qtest_add_func("fuzz/test_fuzz_sb16/1c", test_fuzz_sb16_0x1c); + } + if (qtest_has_machine("pc")) { + qtest_add_func("fuzz/test_fuzz_sb16/91", test_fuzz_sb16_0x91); + qtest_add_func("fuzz/test_fuzz_sb16/d4", test_fuzz_sb16_0xd4); + } =20 return g_test_run(); } --=20 2.37.2 From nobody Mon Feb 9 00:46:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1662142177; cv=none; d=zohomail.com; s=zohoarc; b=AStbBXspxEEuqz7dcfqq4mbjASRsvu4cjax26p2uhr7KSwADjX6ZnlUw2uwmNaoC3eT67zkQwqq5S1zGquuyb2SqQHQPatObJpzi0ZJOqRrv/8WeLacmQyTgI6m5cHst6wdSwUu2y93CmwnTe5GgbvSHomDVeT78PFmj7xSpHR4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662142177; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=6KgkJoHn/bSVIg2u3rluI46s0i80BGKXz+iBihoo/BM=; b=UdKDln2+vDnZ+2zJMgcNlT5SuQWSI/yaWCSMLVLkxybYxgo5TAOwAuZse/OpnAXaPTpVs9nFpGpt+LD5JhdyW5Zy37b77ZSU669/X1WD8ycKUWFYhI99mHZakF7c5cl4M7QsU2wOafCSgM+Za95SB26OySMMUpH8SMzDOyL5M1M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1662142177749898.8365661270318; Fri, 2 Sep 2022 11:09:37 -0700 (PDT) Received: from localhost ([::1]:49082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUB6m-0008B7-Jf for importer@patchew.org; Fri, 02 Sep 2022 14:09:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZb-00069n-03 for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:22 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:29586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZY-0007QA-R5 for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:18 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-636-bBYP_xOyPTmV9GzXVEHc5Q-1; Fri, 02 Sep 2022 13:35:12 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AD4551C0755D; Fri, 2 Sep 2022 17:35:11 +0000 (UTC) Received: from secure.mitica (unknown [10.39.192.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6F196C15BB3; Fri, 2 Sep 2022 17:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662140113; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6KgkJoHn/bSVIg2u3rluI46s0i80BGKXz+iBihoo/BM=; b=L+4PQdpqJOUCxFzeFhf2RC045FczhiP6LpzurjtThOxhysNhAfKIEkaXW05D2pSFHqLBrb R45kT0iCQR6WVhKuvqlXRgWuSlgq4S5pjGkllu8RiSfg9DTg4RruHpXLUt8N1lU/7IlOPc NCs3bXxR3fKdb7HANUkGEX1wBHSt/Wc= X-MC-Unique: bBYP_xOyPTmV9GzXVEHc5Q-1 From: Juan Quintela To: qemu-devel@nongnu.org Cc: Bandan Das , Darren Kenny , Alexander Bulekov , Paolo Bonzini , Stefan Hajnoczi , Igor Mammedov , Thomas Huth , Ani Sinha , Gerd Hoffmann , Qiuhao Li , "Michael S. Tsirkin" , Laurent Vivier , Juan Quintela Subject: [PATCH 6/8] tests: Make all tests that use q35 depend on it being compiled in Date: Fri, 2 Sep 2022 19:34:50 +0200 Message-Id: <20220902173452.1904-7-quintela@redhat.com> In-Reply-To: <20220902173452.1904-1-quintela@redhat.com> References: <20220902173452.1904-1-quintela@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 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: pass client-ip=170.10.133.124; envelope-from=quintela@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1662142178338100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/qtest/meson.build | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build index e910cb32ca..67b3b678d3 100644 --- a/tests/qtest/meson.build +++ b/tests/qtest/meson.build @@ -51,13 +51,16 @@ qtests_i386 =3D \ (config_all_devices.has_key('CONFIG_WDT_IB700') ? ['wdt_ib700-test'] : [= ]) + \ (config_all_devices.has_key('CONFIG_PVPANIC_ISA') ? ['pvpanic-test'] : [= ]) + \ (config_all_devices.has_key('CONFIG_PVPANIC_PCI') ? ['pvpanic-pci-test']= : []) + \ - (config_all_devices.has_key('CONFIG_HDA') ? ['intel-hda-test'] : []) + = \ + (config_all_devices.has_key('CONFIG_HDA') ? ['intel-hda-test'] : []) + = \ (config_all_devices.has_key('CONFIG_I82801B11') ? ['i82801b11-test'] : [= ]) + \ (config_all_devices.has_key('CONFIG_IOH3420') ? ['ioh3420-test'] : []) += \ - (config_all_devices.has_key('CONFIG_LPC_ICH9') ? ['lpc-ich9-test'] : [])= + \ - (config_all_devices.has_key('CONFIG_USB_UHCI') ? ['usb-hcd-uhci-test'] := []) + \ + (config_all_devices.has_key('CONFIG_LPC_ICH9') and + config_all_devices.has_key('CONFIG_Q35') ? ['lpc-ich9-test'] : []) + = \ + (config_all_devices.has_key('CONFIG_USB_UHCI') and + config_all_devices.has_key('CONFIG_Q35') ? ['usb-hcd-uhci-test'] : []) = + \ (config_all_devices.has_key('CONFIG_USB_UHCI') and = \ - config_all_devices.has_key('CONFIG_USB_EHCI') ? ['usb-hcd-ehci-test'] := []) + \ + config_all_devices.has_key('CONFIG_USB_EHCI') and + config_all_devices.has_key('CONFIG_Q35') ? ['usb-hcd-ehci-test'] : []) = + \ (config_all_devices.has_key('CONFIG_USB_XHCI_NEC') ? ['usb-hcd-xhci-test= '] : []) + \ (config_all_devices.has_key('CONFIG_TPM_CRB') ? ['tpm-crb-test'] : []) += \ (config_all_devices.has_key('CONFIG_TPM_CRB') ? ['tpm-crb-swtpm-test'] := []) + \ @@ -65,10 +68,14 @@ qtests_i386 =3D \ (config_all_devices.has_key('CONFIG_TPM_TIS_ISA') ? ['tpm-tis-swtpm-test= '] : []) + \ (config_all_devices.has_key('CONFIG_RTL8139_PCI') ? ['rtl8139-test'] : [= ]) + \ (config_all_devices.has_key('CONFIG_E1000E_PCI_EXPRESS') ? ['fuzz-e1000e= -test'] : []) + \ - (config_all_devices.has_key('CONFIG_MEGASAS_SCSI_PCI') ? ['fuzz-megasas-= test'] : []) + \ - (config_all_devices.has_key('CONFIG_LSI_SCSI_PCI') ? ['fuzz-lsi53c895a-t= est'] : []) + \ - (config_all_devices.has_key('CONFIG_VIRTIO_SCSI') ? ['fuzz-virtio-scsi-t= est'] : []) + \ - (config_all_devices.has_key('CONFIG_SB16') ? ['fuzz-sb16-test'] : []) + = \ + (config_all_devices.has_key('CONFIG_MEGASAS_SCSI_PCI') and + config_all_devices.has_key('CONFIG_Q35') ? ['fuzz-megasas-test'] : []) = + \ + (config_all_devices.has_key('CONFIG_LSI_SCSI_PCI') and + config_all_devices.has_key('CONFIG_Q35') ? ['fuzz-lsi53c895a-test'] : [= ]) + \ + (config_all_devices.has_key('CONFIG_VIRTIO_SCSI') and + config_all_devices.has_key('CONFIG_Q35') ? ['fuzz-virtio-scsi-test'] : = []) + \ + (config_all_devices.has_key('CONFIG_SB16') and + config_all_devices.has_key('CONFIG_Q35') ? ['fuzz-sb16-test'] : []) + = \ (config_all_devices.has_key('CONFIG_SDHCI_PCI') ? ['fuzz-sdcard-test'] := []) + \ (config_all_devices.has_key('CONFIG_ESP_PCI') ? ['am53c974-test'] : []) = + \ (config_host.has_key('CONFIG_POSIX') and = \ @@ -77,6 +84,8 @@ qtests_i386 =3D \ config_all_devices.has_key('CONFIG_Q35') and = \ config_all_devices.has_key('CONFIG_VIRTIO_PCI') and = \ slirp.found() ? ['virtio-net-failover'] : []) + = \ + (config_all_devices.has_key('CONFIG_Q35') ? ['q35-test'] : []) + \ + (config_all_devices.has_key('CONFIG_Q35') ? ['tco-test'] : []) + \ (unpack_edk2_blobs ? ['bios-tables-test'] : []) + = \ qtests_pci + = \ qtests_cxl + = \ @@ -89,9 +98,7 @@ qtests_i386 =3D \ 'fw_cfg-test', 'device-plug-test', 'drive_del-test', - 'tco-test', 'cpu-plug-test', - 'q35-test', 'vmgenid-test', 'migration-test', 'test-x86-cpuid-compat', --=20 2.37.2 From nobody Mon Feb 9 00:46:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1662142485; cv=none; d=zohomail.com; s=zohoarc; b=dmzKmI4hu/1TI/JHWf8QnXqkSY/KJRe/4r5l5/pPnid+JU4zPPY8vqioTU9D5DuPdS85Nl1WPN+2myw9y3AFRWTzt0+6M/HH3ytOG0ncfTkq51l1mAjwFf2d/I3WIc136MNVWvmGCSD9j84mPK3zsLf7DzZZszsRBLj8z7FuiIw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662142485; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=8mPAEteOwzwBNYOgDzE0qX3WjzRiguEjupjtAf6QR64=; b=jEPKBVPDPb4P1Ib9gJks/10Nhp72x/UWDhnpKjVy5nBoFRnX9SEl9PArI9ZxG0xbMMzM99Kxjkr2faaBHbUFqv+Ny95ZGdokgehiCiIWI5fzV4b5V+tu7uuSiMDXoFCE5RW5PtR6L+Qn5rL/kTUov7qtb3w+IowM0bOYEygjFB0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1662142485356461.77035591766844; Fri, 2 Sep 2022 11:14:45 -0700 (PDT) Received: from localhost ([::1]:59870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUBBj-000515-MQ for importer@patchew.org; Fri, 02 Sep 2022 14:14:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZd-0006A0-NR for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:22 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:29670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZa-0007QK-Nt for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:20 -0400 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-631-EUIPNPwSO_6qELylnLWxrg-1; Fri, 02 Sep 2022 13:35:14 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 30D931C0755B; Fri, 2 Sep 2022 17:35:14 +0000 (UTC) Received: from secure.mitica (unknown [10.39.192.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id F3C59C15BB3; Fri, 2 Sep 2022 17:35:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662140117; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8mPAEteOwzwBNYOgDzE0qX3WjzRiguEjupjtAf6QR64=; b=B79kUTFpgE62YcXU+mpMAXkrKdU65Hd3N6iP8AUjhkj0qqp19l5EcLRKxARzRqobJdsrDd lGXz+syKNMbKWTI44lSZgtou3z6C9mJv/Wv32OoN32qGisHp0wbKqTpUQ3oB6qbEylXRUS DxNQKyJWbx4IPh/TfTGC0j74e9iICxw= X-MC-Unique: EUIPNPwSO_6qELylnLWxrg-1 From: Juan Quintela To: qemu-devel@nongnu.org Cc: Bandan Das , Darren Kenny , Alexander Bulekov , Paolo Bonzini , Stefan Hajnoczi , Igor Mammedov , Thomas Huth , Ani Sinha , Gerd Hoffmann , Qiuhao Li , "Michael S. Tsirkin" , Laurent Vivier , Juan Quintela Subject: [PATCH 7/8] tests: Unfold qtest_pci Date: Fri, 2 Sep 2022 19:34:51 +0200 Message-Id: <20220902173452.1904-8-quintela@redhat.com> In-Reply-To: <20220902173452.1904-1-quintela@redhat.com> References: <20220902173452.1904-1-quintela@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 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: pass client-ip=170.10.129.124; envelope-from=quintela@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-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" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1662142485559100001 Content-Type: text/plain; charset="utf-8" We will need to configure depending on machine type for x86_64 on the following patch. It has only two users anyways. Signed-off-by: Juan Quintela --- tests/qtest/meson.build | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build index 67b3b678d3..6f17d901ba 100644 --- a/tests/qtest/meson.build +++ b/tests/qtest/meson.build @@ -32,10 +32,6 @@ if config_host.has_key('CONFIG_MODULES') qtests_generic +=3D [ 'modules-test' ] endif =20 -qtests_pci =3D \ - (config_all_devices.has_key('CONFIG_VGA') ? ['display-vga-test'] : []) += \ - (config_all_devices.has_key('CONFIG_IVSHMEM_DEVICE') ? ['ivshmem-test'] = : []) - qtests_cxl =3D \ (config_all_devices.has_key('CONFIG_CXL') ? ['cxl-test'] : []) =20 @@ -84,10 +80,11 @@ qtests_i386 =3D \ config_all_devices.has_key('CONFIG_Q35') and = \ config_all_devices.has_key('CONFIG_VIRTIO_PCI') and = \ slirp.found() ? ['virtio-net-failover'] : []) + = \ + (config_all_devices.has_key('CONFIG_VGA') ? ['display-vga-test'] : []) += \ + (config_all_devices.has_key('CONFIG_IVSHMEM_DEVICE') ? ['ivshmem-test'] = : []) + \ (config_all_devices.has_key('CONFIG_Q35') ? ['q35-test'] : []) + \ (config_all_devices.has_key('CONFIG_Q35') ? ['tco-test'] : []) + \ (unpack_edk2_blobs ? ['bios-tables-test'] : []) + = \ - qtests_pci + = \ qtests_cxl + = \ ['fdc-test', 'ide-test', @@ -175,7 +172,9 @@ qtests_ppc64 =3D \ (slirp.found() ? ['pxe-test'] : []) + \ (config_all_devices.has_key('CONFIG_USB_UHCI') ? ['usb-hcd-uhci-test'] := []) + \ (config_all_devices.has_key('CONFIG_USB_XHCI_NEC') ? ['usb-hcd-xhci-test= '] : []) + \ - qtests_pci + ['migration-test', 'numa-test', 'cpu-plug-test', 'drive_del= -test'] + (config_all_devices.has_key('CONFIG_VGA') ? ['display-vga-test'] : []) += \ + (config_all_devices.has_key('CONFIG_IVSHMEM_DEVICE') ? ['ivshmem-test'] = : []) + \ + ['migration-test', 'numa-test', 'cpu-plug-test', 'drive_del-test'] =20 qtests_sh4 =3D (config_all_devices.has_key('CONFIG_ISA_TESTDEV') ? ['endia= nness-test'] : []) qtests_sh4eb =3D (config_all_devices.has_key('CONFIG_ISA_TESTDEV') ? ['end= ianness-test'] : []) --=20 2.37.2 From nobody Mon Feb 9 00:46:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1662141868; cv=none; d=zohomail.com; s=zohoarc; b=RBzVe44u4NREelfYlp2BJSFkLfSOAwk8UypjZ7J/GsjuWyADb4kC/MUltD4Hb1qiZe2av6xpdI906LmXYtgVWsvjcKJQ+WY8kezc0k8+VZQ47Lw7xOKZplabOzPs37vn+EgFoigIKZ6sU+u0Et0boySBP6Nbi9oFBuSYZTh+jBU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662141868; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Fk3F9oow0JLNj4MheLtLX2iFlt6wm4+Z+wXu7QWIBsQ=; b=DlvzIGWXrX4Ea2r8hiBihpMdSwIJEKQpns92g2boJ/VOOuy4EB7IyRAgl0rSrKR4QO7j8WzZlp4ZqI9liY9HJ3SK30CNoAu5wZhwWIrziDhuXippRJGWZ4NtgXO1VKOz5mf5HIxS9XTo5hU2BCCpwq7oJt3RWuVzhi2yufYnUNE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1662141868587569.183920541255; Fri, 2 Sep 2022 11:04:28 -0700 (PDT) Received: from localhost ([::1]:41040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUB1m-0004Nu-CY for importer@patchew.org; Fri, 02 Sep 2022 14:04:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZe-0006AD-5w for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:22 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:55691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUAZa-0007QT-Nx for qemu-devel@nongnu.org; Fri, 02 Sep 2022 13:35:20 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-86-TYiUhEr5N_ubu3zYx2I4ig-1; Fri, 02 Sep 2022 13:35:17 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B691785A585; Fri, 2 Sep 2022 17:35:16 +0000 (UTC) Received: from secure.mitica (unknown [10.39.192.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7CD2CC15BB3; Fri, 2 Sep 2022 17:35:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662140118; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Fk3F9oow0JLNj4MheLtLX2iFlt6wm4+Z+wXu7QWIBsQ=; b=Ecta8MyjB97H8NuwBiNTpNTn51TdDCOYODyDm2U6fgagKFp2RF6TjhnVPKtsBxb4uG7EhZ EVRSDu5u/Om1k6MnCy7yLpLlkssOHfyqeKjrvXdTMIBOb6vLQIV4uMZYDNqzLgAXD0D1Wn Crggh7x1hri4j/3o1rjiACI2IfxIuJY= X-MC-Unique: TYiUhEr5N_ubu3zYx2I4ig-1 From: Juan Quintela To: qemu-devel@nongnu.org Cc: Bandan Das , Darren Kenny , Alexander Bulekov , Paolo Bonzini , Stefan Hajnoczi , Igor Mammedov , Thomas Huth , Ani Sinha , Gerd Hoffmann , Qiuhao Li , "Michael S. Tsirkin" , Laurent Vivier , Juan Quintela Subject: [PATCH 8/8] tests: Make all tests that depend on I440FX state that Date: Fri, 2 Sep 2022 19:34:52 +0200 Message-Id: <20220902173452.1904-9-quintela@redhat.com> In-Reply-To: <20220902173452.1904-1-quintela@redhat.com> References: <20220902173452.1904-1-quintela@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 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: pass client-ip=170.10.133.124; envelope-from=quintela@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1662141870346100001 Content-Type: text/plain; charset="utf-8" All the tests that I have put in qtests_i386_require_default work with either "pc" or "q35". Signed-off-by: Juan Quintela --- tests/qtest/meson.build | 67 +++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 32 deletions(-) diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build index 6f17d901ba..11bf970400 100644 --- a/tests/qtest/meson.build +++ b/tests/qtest/meson.build @@ -35,34 +35,48 @@ endif qtests_cxl =3D \ (config_all_devices.has_key('CONFIG_CXL') ? ['cxl-test'] : []) =20 +qtests_i386_require_default =3D \ + (config_all_devices.has_key('CONFIG_VGA') ? ['display-vga-test'] : []) += \ + (config_host.has_key('CONFIG_POSIX') and + config_all_devices.has_key('CONFIG_ACPI_ERST') ? ['erst-test'] : []) + = \ + (config_all_devices.has_key('CONFIG_SDHCI_PCI') ? ['fuzz-sdcard-test'] := []) + \ + (config_host.has_key('CONFIG_LINUX') and + config_all_devices.has_key('CONFIG_ISA_IPMI_BT') ? ['ipmi-bt-test'] : [= ]) + \ + (config_all_devices.has_key('CONFIG_ISA_IPMI_KCS') ? ['ipmi-kcs-test'] := []) + \ + (config_all_devices.has_key('CONFIG_PVPANIC_ISA') ? ['pvpanic-test'] : [= ]) + \ + (config_all_devices.has_key('CONFIG_PVPANIC_PCI') ? ['pvpanic-pci-test']= : []) + \ + (config_all_devices.has_key('CONFIG_RTL8139_PCI') ? ['rtl8139-test'] : [= ]) + \ + (config_all_devices.has_key('CONFIG_WDT_IB700') ? ['wdt_ib700-test'] : [= ]) + \ + (config_host.has_key('CONFIG_POSIX') ? ['test-filter-mirror'] : []) + = \ + (config_all_devices.has_key('CONFIG_USB_UHCI') ? ['usb-hcd-uhci-test'] := []) + \ + (config_all_devices.has_key('CONFIG_USB_XHCI_NEC') ? ['usb-hcd-xhci-test= '] : []) + \ + ['boot-order-test', + 'fw_cfg-test', + 'migration-test', + 'numa-test', + 'rtc-test', + 'test-filter-redirector', + 'test-x86-cpuid-compat', + 'vmgenid-test' + ] + qtests_i386 =3D \ (slirp.found() ? ['pxe-test', 'test-netfilter'] : []) + \ - (config_host.has_key('CONFIG_POSIX') ? ['test-filter-mirror'] : []) + = \ (have_tools ? ['ahci-test'] : []) + = \ (config_all_devices.has_key('CONFIG_ISA_TESTDEV') ? ['endianness-test'] = : []) + \ (config_all_devices.has_key('CONFIG_SGA') ? ['boot-serial-test'] : []) += \ - (config_all_devices.has_key('CONFIG_ISA_IPMI_KCS') ? ['ipmi-kcs-test'] := []) + \ - (config_host.has_key('CONFIG_LINUX') and = \ - config_all_devices.has_key('CONFIG_ISA_IPMI_BT') ? ['ipmi-bt-test'] : [= ]) + \ - (config_all_devices.has_key('CONFIG_WDT_IB700') ? ['wdt_ib700-test'] : [= ]) + \ - (config_all_devices.has_key('CONFIG_PVPANIC_ISA') ? ['pvpanic-test'] : [= ]) + \ - (config_all_devices.has_key('CONFIG_PVPANIC_PCI') ? ['pvpanic-pci-test']= : []) + \ (config_all_devices.has_key('CONFIG_HDA') ? ['intel-hda-test'] : []) + = \ (config_all_devices.has_key('CONFIG_I82801B11') ? ['i82801b11-test'] : [= ]) + \ (config_all_devices.has_key('CONFIG_IOH3420') ? ['ioh3420-test'] : []) += \ (config_all_devices.has_key('CONFIG_LPC_ICH9') and config_all_devices.has_key('CONFIG_Q35') ? ['lpc-ich9-test'] : []) + = \ - (config_all_devices.has_key('CONFIG_USB_UHCI') and - config_all_devices.has_key('CONFIG_Q35') ? ['usb-hcd-uhci-test'] : []) = + \ (config_all_devices.has_key('CONFIG_USB_UHCI') and = \ config_all_devices.has_key('CONFIG_USB_EHCI') and config_all_devices.has_key('CONFIG_Q35') ? ['usb-hcd-ehci-test'] : []) = + \ - (config_all_devices.has_key('CONFIG_USB_XHCI_NEC') ? ['usb-hcd-xhci-test= '] : []) + \ (config_all_devices.has_key('CONFIG_TPM_CRB') ? ['tpm-crb-test'] : []) += \ (config_all_devices.has_key('CONFIG_TPM_CRB') ? ['tpm-crb-swtpm-test'] := []) + \ (config_all_devices.has_key('CONFIG_TPM_TIS_ISA') ? ['tpm-tis-test'] : [= ]) + \ (config_all_devices.has_key('CONFIG_TPM_TIS_ISA') ? ['tpm-tis-swtpm-test= '] : []) + \ - (config_all_devices.has_key('CONFIG_RTL8139_PCI') ? ['rtl8139-test'] : [= ]) + \ (config_all_devices.has_key('CONFIG_E1000E_PCI_EXPRESS') ? ['fuzz-e1000e= -test'] : []) + \ (config_all_devices.has_key('CONFIG_MEGASAS_SCSI_PCI') and config_all_devices.has_key('CONFIG_Q35') ? ['fuzz-megasas-test'] : []) = + \ @@ -72,36 +86,25 @@ qtests_i386 =3D \ config_all_devices.has_key('CONFIG_Q35') ? ['fuzz-virtio-scsi-test'] : = []) + \ (config_all_devices.has_key('CONFIG_SB16') and config_all_devices.has_key('CONFIG_Q35') ? ['fuzz-sb16-test'] : []) + = \ - (config_all_devices.has_key('CONFIG_SDHCI_PCI') ? ['fuzz-sdcard-test'] := []) + \ (config_all_devices.has_key('CONFIG_ESP_PCI') ? ['am53c974-test'] : []) = + \ - (config_host.has_key('CONFIG_POSIX') and = \ - config_all_devices.has_key('CONFIG_ACPI_ERST') ? ['erst-test'] : []) + = \ (config_all_devices.has_key('CONFIG_VIRTIO_NET') and = \ config_all_devices.has_key('CONFIG_Q35') and = \ config_all_devices.has_key('CONFIG_VIRTIO_PCI') and = \ slirp.found() ? ['virtio-net-failover'] : []) + = \ - (config_all_devices.has_key('CONFIG_VGA') ? ['display-vga-test'] : []) += \ - (config_all_devices.has_key('CONFIG_IVSHMEM_DEVICE') ? ['ivshmem-test'] = : []) + \ + (config_all_devices.has_key('CONFIG_IVSHMEM_DEVICE') and + config_all_devices.has_key('CONFIG_I440FX') ? ['ivshmem-test'] : []) + = \ (config_all_devices.has_key('CONFIG_Q35') ? ['q35-test'] : []) + \ (config_all_devices.has_key('CONFIG_Q35') ? ['tco-test'] : []) + \ + (config_all_devices.has_key('CONFIG_I440FX') ? ['device-plug-test'] : []= ) + \ + (config_all_devices.has_key('CONFIG_I440FX') ? ['drive_del-test'] : []) = + \ + (config_all_devices.has_key('CONFIG_I440FX') ? ['fdc-test'] : []) + = \ + (config_all_devices.has_key('CONFIG_I440FX') ? ['hd-geo-test'] : []) + = \ + (config_all_devices.has_key('CONFIG_I440FX') ? ['i440fx-test'] : []) + = \ + (config_all_devices.has_key('CONFIG_I440FX') ? ['ide-test'] : []) + = \ (unpack_edk2_blobs ? ['bios-tables-test'] : []) + = \ + (config_all_devices.has_key('CONFIG_I440FX') ? qtests_i386_require_defau= lt: []) + \ qtests_cxl + = \ - ['fdc-test', - 'ide-test', - 'hd-geo-test', - 'boot-order-test', - 'rtc-test', - 'i440fx-test', - 'fw_cfg-test', - 'device-plug-test', - 'drive_del-test', - 'cpu-plug-test', - 'vmgenid-test', - 'migration-test', - 'test-x86-cpuid-compat', - 'numa-test', - 'test-filter-redirector' - ] + ['cpu-plug-test'] =20 if dbus_display qtests_i386 +=3D ['dbus-display-test'] --=20 2.37.2