From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829357914560.2971501122164; Tue, 17 Jul 2018 05:09:17 -0700 (PDT) Received: from localhost ([::1]:58852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOn6-0000tx-Sf for importer@patchew.org; Tue, 17 Jul 2018 08:09:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOiO-0005Un-8v for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiK-00070y-Vi for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:24 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:38082 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiK-00070X-RH for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:20 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6C44D81A4EAF for ; Tue, 17 Jul 2018 12:04:20 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5CD412026D68; Tue, 17 Jul 2018 12:04:19 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:01 +0200 Message-Id: <20180717120414.5852-2-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 17 Jul 2018 12:04:20 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 17 Jul 2018 12:04:20 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 01/14] check: Only test ipmi when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/Makefile.include | 4 ++-- tests/bios-tables-test.c | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index 0ac4b960bc..bb1080ecb5 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -260,8 +260,8 @@ check-qtest-i386-y +=3D tests/bios-tables-test$(EXESUF) check-qtest-i386-y +=3D tests/boot-serial-test$(EXESUF) check-qtest-i386-$(CONFIG_SLIRP) +=3D tests/pxe-test$(EXESUF) check-qtest-i386-y +=3D tests/rtc-test$(EXESUF) -check-qtest-i386-y +=3D tests/ipmi-kcs-test$(EXESUF) -check-qtest-i386-y +=3D tests/ipmi-bt-test$(EXESUF) +check-qtest-i386-$(CONFIG_ISA_IPMI_KCS) +=3D tests/ipmi-kcs-test$(EXESUF) +check-qtest-i386-$(CONFIG_ISA_IPMI_BT) +=3D tests/ipmi-bt-test$(EXESUF) check-qtest-i386-y +=3D tests/i440fx-test$(EXESUF) check-qtest-i386-y +=3D tests/fw_cfg-test$(EXESUF) check-qtest-i386-y +=3D tests/drive_del-test$(EXESUF) diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index 4e24930c4b..fd59c7f9a2 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -736,6 +736,7 @@ static void test_acpi_q35_tcg_cphp(void) free_test_data(&data); } =20 +#ifdef CONFIG_IPMI static uint8_t ipmi_required_struct_types[] =3D { 0, 1, 3, 4, 16, 17, 19, 32, 38, 127 }; @@ -772,6 +773,7 @@ static void test_acpi_piix4_tcg_ipmi(void) &data); free_test_data(&data); } +#endif =20 static void test_acpi_q35_tcg_memhp(void) { @@ -875,8 +877,10 @@ int main(int argc, char *argv[]) qtest_add_func("acpi/piix4/bridge", test_acpi_piix4_tcg_bridge); qtest_add_func("acpi/q35", test_acpi_q35_tcg); qtest_add_func("acpi/q35/bridge", test_acpi_q35_tcg_bridge); +#ifdef CONFIG_IPMI qtest_add_func("acpi/piix4/ipmi", test_acpi_piix4_tcg_ipmi); qtest_add_func("acpi/q35/ipmi", test_acpi_q35_tcg_ipmi); +#endif 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); --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829202426510.4787516744809; Tue, 17 Jul 2018 05:06:42 -0700 (PDT) Received: from localhost ([::1]:58826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOkY-00079w-6t for importer@patchew.org; Tue, 17 Jul 2018 08:06:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOiO-0005Uo-8x for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiM-00074o-A6 for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:24 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33910 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiM-00073c-4r for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:22 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BC5137C6CA for ; Tue, 17 Jul 2018 12:04:21 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id AFCE12026D68; Tue, 17 Jul 2018 12:04:20 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:02 +0200 Message-Id: <20180717120414.5852-3-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:21 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:21 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 02/14] check: Only test megasas when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/Makefile.include | 4 ++-- tests/cdrom-test.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index bb1080ecb5..6565206a78 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -245,8 +245,8 @@ check-qtest-pci-$(CONFIG_HDA) +=3D tests/intel-hda-test= $(EXESUF) gcov-files-pci-$(CONFIG_HDA) +=3D hw/audio/intel-hda.c hw/audio/hda-codec.c check-qtest-pci-$(CONFIG_IVSHMEM_DEVICE) +=3D tests/ivshmem-test$(EXESUF) gcov-files-pci-$(CONFIG_IVSHMEM_DEVICE) +=3D hw/misc/ivshmem.c -check-qtest-pci-y +=3D tests/megasas-test$(EXESUF) -gcov-files-pci-y +=3D hw/scsi/megasas.c +check-qtest-pci-$(CONFIG_MEGASAS_SCSI_PCI) +=3D tests/megasas-test$(EXESUF) +gcov-files-pci-$(CONFIG_MEGASAS_SCSI_PCI) +=3D hw/scsi/megasas.c =20 check-qtest-i386-$(CONFIG_ISA_TESTDEV) =3D tests/endianness-test$(EXESUF) check-qtest-i386-y +=3D tests/fdc-test$(EXESUF) diff --git a/tests/cdrom-test.c b/tests/cdrom-test.c index 7a1fce5dfb..42c29524b8 100644 --- a/tests/cdrom-test.c +++ b/tests/cdrom-test.c @@ -143,12 +143,14 @@ static void add_x86_tests(void) qtest_add_data_func("cdrom/boot/lsi53c895a", "-device lsi53c895a -device scsi-cd,drive=3Dcd1 " "-blockdev file,node-name=3Dcd1,filename=3D", test= _cdboot); +#ifdef CONFIG_MEGASAS_SCSI_PCI qtest_add_data_func("cdrom/boot/megasas", "-M q35 " "-device megasas -device scsi-cd,drive=3Dcd1 " "-blockdev file,node-name=3Dcd1,filename=3D", test= _cdboot); qtest_add_data_func("cdrom/boot/megasas-gen2", "-M q35 " "-device megasas-gen2 -device scsi-cd,drive=3Dcd1 " "-blockdev file,node-name=3Dcd1,filename=3D", test= _cdboot); +#endif } =20 static void add_s390x_tests(void) --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829215723762.765660514175; Tue, 17 Jul 2018 05:06:55 -0700 (PDT) Received: from localhost ([::1]:58827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOko-0007ND-KM for importer@patchew.org; Tue, 17 Jul 2018 08:06:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOiO-0005V6-Mr for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiN-00078s-TA for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:24 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:38084 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiN-00077h-O3 for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:23 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1807281A4EAF for ; Tue, 17 Jul 2018 12:04:23 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0BCBB2026D68; Tue, 17 Jul 2018 12:04:21 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:03 +0200 Message-Id: <20180717120414.5852-4-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 17 Jul 2018 12:04:23 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 17 Jul 2018 12:04:23 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 03/14] check: Only test lsi when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/cdrom-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/cdrom-test.c b/tests/cdrom-test.c index 42c29524b8..bab2ecc306 100644 --- a/tests/cdrom-test.c +++ b/tests/cdrom-test.c @@ -140,9 +140,11 @@ static void add_x86_tests(void) qtest_add_data_func("cdrom/boot/dc390", "-device dc390 -device scsi-cd,drive=3Dcd1 " "-blockdev file,node-name=3Dcd1,filename=3D", test= _cdboot); +#ifdef CONFIG_LSI_SCSI_PCI qtest_add_data_func("cdrom/boot/lsi53c895a", "-device lsi53c895a -device scsi-cd,drive=3Dcd1 " "-blockdev file,node-name=3Dcd1,filename=3D", test= _cdboot); +#endif #ifdef CONFIG_MEGASAS_SCSI_PCI qtest_add_data_func("cdrom/boot/megasas", "-M q35 " "-device megasas -device scsi-cd,drive=3Dcd1 " --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829200165716.4789090151248; Tue, 17 Jul 2018 05:06:40 -0700 (PDT) Received: from localhost ([::1]:58825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOkV-00076Y-FH for importer@patchew.org; Tue, 17 Jul 2018 08:06:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOiP-0005Vl-Pk for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiO-0007BF-Va for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:25 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33912 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiO-0007Al-RP for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:24 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6A7F77C6CA for ; Tue, 17 Jul 2018 12:04:24 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5B7162026D68; Tue, 17 Jul 2018 12:04:23 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:04 +0200 Message-Id: <20180717120414.5852-5-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:24 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:24 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 04/14] check: Only test esp when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/cdrom-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/cdrom-test.c b/tests/cdrom-test.c index bab2ecc306..0d7dff6da5 100644 --- a/tests/cdrom-test.c +++ b/tests/cdrom-test.c @@ -134,12 +134,14 @@ static void add_x86_tests(void) "-blockdev file,node-name=3Dcdr,filename=3D", test= _cdboot); qtest_add_data_func("cdrom/boot/isapc", "-M isapc " "-drive if=3Dide,media=3Dcdrom,file=3D", test_cdbo= ot); +#ifdef CONFIG_ESP_PCI qtest_add_data_func("cdrom/boot/am53c974", "-device am53c974 -device scsi-cd,drive=3Dcd1 " "-drive if=3Dnone,id=3Dcd1,format=3Draw,file=3D", = test_cdboot); qtest_add_data_func("cdrom/boot/dc390", "-device dc390 -device scsi-cd,drive=3Dcd1 " "-blockdev file,node-name=3Dcd1,filename=3D", test= _cdboot); +#endif #ifdef CONFIG_LSI_SCSI_PCI qtest_add_data_func("cdrom/boot/lsi53c895a", "-device lsi53c895a -device scsi-cd,drive=3Dcd1 " --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 153182934096594.64661133597303; Tue, 17 Jul 2018 05:09:00 -0700 (PDT) Received: from localhost ([::1]:58850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOmp-0000go-Qm for importer@patchew.org; Tue, 17 Jul 2018 08:08:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOiR-0005XQ-0r for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiQ-0007DK-8W for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:27 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:38086 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiQ-0007CS-59 for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:26 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BFF78808255B for ; Tue, 17 Jul 2018 12:04:25 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id AE1C52026D68; Tue, 17 Jul 2018 12:04:24 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:05 +0200 Message-Id: <20180717120414.5852-6-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 17 Jul 2018 12:04:25 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 17 Jul 2018 12:04:25 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 05/14] check: Only test sga when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/boot-serial-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c index 952a2e7ead..3f7c46fdf7 100644 --- a/tests/boot-serial-test.c +++ b/tests/boot-serial-test.c @@ -87,11 +87,13 @@ static testdef_t tests[] =3D { { "ppc64", "pseries", "", "Open Firmware" }, { "ppc64", "powernv", "-cpu POWER8", "OPAL" }, { "ppc64", "sam460ex", "-device e1000", "8086 100e" }, +#ifdef CONFIG_SGA { "i386", "isapc", "-cpu qemu32 -device sga", "SGABIOS" }, { "i386", "pc", "-device sga", "SGABIOS" }, { "i386", "q35", "-device sga", "SGABIOS" }, { "x86_64", "isapc", "-cpu qemu32 -device sga", "SGABIOS" }, { "x86_64", "q35", "-device sga", "SGABIOS" }, +#endif { "sparc", "LX", "", "TMS390S10" }, { "sparc", "SS-4", "", "MB86904" }, { "sparc", "SS-600MP", "", "TMS390Z55" }, --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829474460913.7873793924311; Tue, 17 Jul 2018 05:11:14 -0700 (PDT) Received: from localhost ([::1]:58869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOoz-0002XF-Dc for importer@patchew.org; Tue, 17 Jul 2018 08:11:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOiX-0005ep-5G for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiR-0007Fp-J3 for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:33 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:39326 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiR-0007FB-Fb for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:27 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1F42D77885 for ; Tue, 17 Jul 2018 12:04:27 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 100E42026D68; Tue, 17 Jul 2018 12:04:25 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:06 +0200 Message-Id: <20180717120414.5852-7-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 17 Jul 2018 12:04:27 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 17 Jul 2018 12:04:27 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 06/14] check: Only test usb smartcard when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/usb-hcd-xhci-test.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/usb-hcd-xhci-test.c b/tests/usb-hcd-xhci-test.c index 5b1b681bf2..be80c5f032 100644 --- a/tests/usb-hcd-xhci-test.c +++ b/tests/usb-hcd-xhci-test.c @@ -35,6 +35,7 @@ static void test_usb_uas_hotplug(void) qtest_qmp_device_del("uas"); } =20 +#ifdef CONFIG_USB_SMARTCARD static void test_usb_ccid_hotplug(void) { qtest_qmp_device_add("usb-ccid", "ccid", NULL); @@ -43,6 +44,7 @@ static void test_usb_ccid_hotplug(void) qtest_qmp_device_add("usb-ccid", "ccid", NULL); qtest_qmp_device_del("ccid"); } +#endif =20 int main(int argc, char **argv) { @@ -53,8 +55,9 @@ int main(int argc, char **argv) qtest_add_func("/xhci/pci/init", test_xhci_init); qtest_add_func("/xhci/pci/hotplug", test_xhci_hotplug); qtest_add_func("/xhci/pci/hotplug/usb-uas", test_usb_uas_hotplug); +#ifdef CONFIG_USB_SMARTCARD qtest_add_func("/xhci/pci/hotplug/usb-ccid", test_usb_ccid_hotplug); - +#endif qtest_start("-device nec-usb-xhci,id=3Dxhci" " -drive id=3Ddrive0,if=3Dnone,file=3Dnull-co://,format=3D= raw"); ret =3D g_test_run(); --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829607364315.03346229244096; Tue, 17 Jul 2018 05:13:27 -0700 (PDT) Received: from localhost ([::1]:58884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOr3-0004DN-CG for importer@patchew.org; Tue, 17 Jul 2018 08:13:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOiX-0005eu-5R for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiT-0007In-1P for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:33 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:39328 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiS-0007Hk-S9 for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:28 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 702DB77885 for ; Tue, 17 Jul 2018 12:04:28 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 628522026D68; Tue, 17 Jul 2018 12:04:27 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:07 +0200 Message-Id: <20180717120414.5852-8-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 17 Jul 2018 12:04:28 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 17 Jul 2018 12:04:28 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 07/14] check: Only test usb storage when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/Makefile.include | 2 +- tests/usb-hcd-uhci-test.c | 5 ++++- tests/usb-hcd-xhci-test.c | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index 6565206a78..9193945c24 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -284,7 +284,7 @@ check-qtest-i386-$(CONFIG_USB_OHCI) +=3D tests/usb-hcd-= ohci-test$(EXESUF) gcov-files-i386-$(CONFIG_USB_OHCI) +=3D hw/usb/hcd-ohci.c check-qtest-i386-$(CONFIG_USB_UHCI) +=3D tests/usb-hcd-uhci-test$(EXESUF) gcov-files-i386-$(CONFIG_USB_UHCI) +=3D hw/usb/hcd-uhci.c -check-qtest-i386-$(CONFIG_USB_EHCI) +=3D tests/usb-hcd-ehci-test$(EXESUF) +check-qtest-i386-$(call land, $(CONFIG_USB_EHCI), $(CONFIG_USB_STORAGE_BOT= )) +=3D tests/usb-hcd-ehci-test$(EXESUF) gcov-files-i386-$(CONFIG_USB_EHCI) +=3D hw/usb/hcd-ehci.c gcov-files-i386-y +=3D hw/usb/dev-hid.c gcov-files-i386-y +=3D hw/usb/dev-storage.c diff --git a/tests/usb-hcd-uhci-test.c b/tests/usb-hcd-uhci-test.c index 6a7e5a2fed..bf996af6c6 100644 --- a/tests/usb-hcd-uhci-test.c +++ b/tests/usb-hcd-uhci-test.c @@ -46,12 +46,14 @@ static void test_uhci_hotplug(void) usb_test_hotplug("uhci", 2, test_port_2); } =20 +#ifdef CONFIG_USB_STORAGE_BOT static void test_usb_storage_hotplug(void) { qtest_qmp_device_add("usb-storage", "usbdev0", "'drive': 'drive0'"); =20 qtest_qmp_device_del("usbdev0"); } +#endif =20 int main(int argc, char **argv) { @@ -66,8 +68,9 @@ int main(int argc, char **argv) qtest_add_func("/uhci/pci/init", test_uhci_init); qtest_add_func("/uhci/pci/port1", test_port_1); qtest_add_func("/uhci/pci/hotplug", test_uhci_hotplug); +#ifdef CONFIG_USB_STORAGE_BOT qtest_add_func("/uhci/pci/hotplug/usb-storage", test_usb_storage_hotpl= ug); - +#endif if (strcmp(arch, "i386") =3D=3D 0 || strcmp(arch, "x86_64") =3D=3D 0) { qs =3D qtest_pc_boot(cmd); } else if (strcmp(arch, "ppc64") =3D=3D 0) { diff --git a/tests/usb-hcd-xhci-test.c b/tests/usb-hcd-xhci-test.c index be80c5f032..a8996800b2 100644 --- a/tests/usb-hcd-xhci-test.c +++ b/tests/usb-hcd-xhci-test.c @@ -21,6 +21,7 @@ static void test_xhci_hotplug(void) usb_test_hotplug("xhci", 1, NULL); } =20 +#ifdef CONFIG_USB_STORAGE_UAS static void test_usb_uas_hotplug(void) { qtest_qmp_device_add("usb-uas", "uas", NULL); @@ -34,6 +35,7 @@ static void test_usb_uas_hotplug(void) qtest_qmp_device_del("scsihd"); qtest_qmp_device_del("uas"); } +#endif =20 #ifdef CONFIG_USB_SMARTCARD static void test_usb_ccid_hotplug(void) @@ -54,7 +56,9 @@ int main(int argc, char **argv) =20 qtest_add_func("/xhci/pci/init", test_xhci_init); qtest_add_func("/xhci/pci/hotplug", test_xhci_hotplug); +#ifdef CONFIG_USB_STORAGE_UAS qtest_add_func("/xhci/pci/hotplug/usb-uas", test_usb_uas_hotplug); +#endif #ifdef CONFIG_USB_SMARTCARD qtest_add_func("/xhci/pci/hotplug/usb-ccid", test_usb_ccid_hotplug); #endif --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829480468945.4915811593638; Tue, 17 Jul 2018 05:11:20 -0700 (PDT) Received: from localhost ([::1]:58870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOp1-0002Zl-NV for importer@patchew.org; Tue, 17 Jul 2018 08:11:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOiX-0005gC-Ik for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiU-0007Ln-8S for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:33 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33922 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiU-0007Ko-4h for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:30 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C13C87D84D for ; Tue, 17 Jul 2018 12:04:29 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id B318F2026D68; Tue, 17 Jul 2018 12:04:28 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:08 +0200 Message-Id: <20180717120414.5852-9-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:29 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:29 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 08/14] check: Only test nvdim_acpi when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/bios-tables-test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index fd59c7f9a2..1de6e3d58c 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -825,6 +825,7 @@ static void test_acpi_piix4_tcg_numamem(void) free_test_data(&data); } =20 +#ifdef CONFIG_NVDIM_ACPI static void test_acpi_tcg_dimm_pxm(const char *machine) { test_data data; @@ -860,6 +861,7 @@ static void test_acpi_piix4_tcg_dimm_pxm(void) { test_acpi_tcg_dimm_pxm(MACHINE_PC); } +#endif =20 int main(int argc, char *argv[]) { @@ -887,8 +889,10 @@ int main(int argc, char *argv[]) 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); +#ifdef CONFIG_NVDIM_ACPI qtest_add_func("acpi/piix4/dimmpxm", test_acpi_piix4_tcg_dimm_pxm); qtest_add_func("acpi/q35/dimmpxm", test_acpi_q35_tcg_dimm_pxm); +#endif } ret =3D g_test_run(); boot_sector_cleanup(disk); --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829346047764.8770513245734; Tue, 17 Jul 2018 05:09:06 -0700 (PDT) Received: from localhost ([::1]:58851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOmu-0000jr-0M for importer@patchew.org; Tue, 17 Jul 2018 08:09:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOiX-0005gA-Ig for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiV-0007OC-OZ for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:33 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:39330 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiV-0007Mn-Iu for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:31 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2A6D877885 for ; Tue, 17 Jul 2018 12:04:31 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 111122026D68; Tue, 17 Jul 2018 12:04:29 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:09 +0200 Message-Id: <20180717120414.5852-10-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 17 Jul 2018 12:04:31 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 17 Jul 2018 12:04:31 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 09/14] check: Only test virtio-balloon when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- hw/virtio/virtio-pci.c | 5 ++++- tests/Makefile.include | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index 3a01fe90f0..bdbc7ab78d 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c @@ -2287,7 +2287,7 @@ static const TypeInfo vhost_vsock_pci_info =3D { #endif =20 /* virtio-balloon-pci */ - +#ifdef CONFIG_VIRTIO_BALLOON static Property virtio_balloon_pci_properties[] =3D { DEFINE_PROP_UINT32("class", VirtIOPCIProxy, class_code, 0), DEFINE_PROP_END_OF_LIST(), @@ -2341,6 +2341,7 @@ static const TypeInfo virtio_balloon_pci_info =3D { .instance_init =3D virtio_balloon_pci_instance_init, .class_init =3D virtio_balloon_pci_class_init, }; +#endif =20 /* virtio-serial-pci */ =20 @@ -2711,7 +2712,9 @@ static void virtio_pci_register_types(void) type_register_static(&vhost_user_blk_pci_info); #endif type_register_static(&virtio_scsi_pci_info); +#ifdef CONFIG_VIRTIO_BALLOON type_register_static(&virtio_balloon_pci_info); +#endif type_register_static(&virtio_serial_pci_info); type_register_static(&virtio_net_pci_info); #ifdef CONFIG_VHOST_SCSI diff --git a/tests/Makefile.include b/tests/Makefile.include index 9193945c24..bb30c56795 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -191,8 +191,8 @@ gcov-files-virtioserial-y +=3D hw/char/virtio-console.c gcov-files-virtio-y +=3D i386-softmmu/hw/virtio/virtio.c check-qtest-virtio-y +=3D tests/virtio-net-test$(EXESUF) gcov-files-virtio-y +=3D i386-softmmu/hw/net/virtio-net.c -check-qtest-virtio-y +=3D tests/virtio-balloon-test$(EXESUF) -gcov-files-virtio-y +=3D i386-softmmu/hw/virtio/virtio-balloon.c +check-qtest-virtio-$(CONFIG_VIRTIO_BALLOON) +=3D tests/virtio-balloon-test= $(EXESUF) +gcov-files-virtio-$(CONFIG_VIRTIO_BALLOON) +=3D i386-softmmu/hw/virtio/vir= tio-balloon.c check-qtest-virtio-y +=3D tests/virtio-blk-test$(EXESUF) gcov-files-virtio-y +=3D i386-softmmu/hw/block/virtio-blk.c check-qtest-virtio-y +=3D tests/virtio-rng-test$(EXESUF) @@ -397,7 +397,7 @@ check-qtest-s390x-$(CONFIG_SLIRP) +=3D tests/test-netfi= lter$(EXESUF) check-qtest-s390x-$(CONFIG_POSIX) +=3D tests/test-filter-mirror$(EXESUF) check-qtest-s390x-$(CONFIG_POSIX) +=3D tests/test-filter-redirector$(EXESU= F) check-qtest-s390x-y +=3D tests/drive_del-test$(EXESUF) -check-qtest-s390x-y +=3D tests/virtio-balloon-test$(EXESUF) +check-qtest-s390x-$(CONFIG_VIRTIO_BALLOON) +=3D tests/virtio-balloon-test$= (EXESUF) check-qtest-s390x-y +=3D tests/virtio-console-test$(EXESUF) check-qtest-s390x-y +=3D tests/virtio-serial-test$(EXESUF) check-qtest-s390x-y +=3D tests/cpu-plug-test$(EXESUF) --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829762204921.0480310756498; Tue, 17 Jul 2018 05:16:02 -0700 (PDT) Received: from localhost ([::1]:58916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOtc-0006Lm-Tw for importer@patchew.org; Tue, 17 Jul 2018 08:16:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOiX-0005hd-Sx for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiX-0007Rv-08 for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:33 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33926 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiW-0007Ql-SL for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:32 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 75B8A7D84D for ; Tue, 17 Jul 2018 12:04:32 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 67E152026D68; Tue, 17 Jul 2018 12:04:31 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:10 +0200 Message-Id: <20180717120414.5852-11-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:32 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:32 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 10/14] check: Only test virtio-serial when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/Makefile.include | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index bb30c56795..7feda20577 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -204,10 +204,10 @@ check-qtest-virtio-y +=3D tests/virtio-9p-test$(EXESU= F) gcov-files-virtio-y +=3D hw/9pfs/virtio-9p.c gcov-files-virtio-y +=3D i386-softmmu/hw/9pfs/virtio-9p-device.c endif -check-qtest-virtio-y +=3D tests/virtio-serial-test$(EXESUF) -gcov-files-virtio-y +=3D i386-softmmu/hw/char/virtio-serial-bus.c -check-qtest-virtio-y +=3D $(check-qtest-virtioserial-y) -gcov-files-virtio-y +=3D $(gcov-files-virtioserial-y) +check-qtest-virtio-$(CONFIG_VIRTIO_SERIAL) +=3D tests/virtio-serial-test$(= EXESUF) +gcov-files-virtio-$(CONFIG_VIRTIO_SERIAL) +=3D i386-softmmu/hw/char/virtio= -serial-bus.c +check-qtest-virtio-$(CONFIG_VIRTIO_SERIAL) +=3D $(check-qtest-virtioserial= -y) +gcov-files-virtio-$(CONFIG_VIRTIO_SERIAL) +=3D $(gcov-files-virtioserial-y) =20 check-qtest-pci-y +=3D tests/e1000-test$(EXESUF) gcov-files-pci-y +=3D hw/net/e1000.c --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829945512479.7969557956409; Tue, 17 Jul 2018 05:19:05 -0700 (PDT) Received: from localhost ([::1]:58942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOwV-0000Zx-Ry for importer@patchew.org; Tue, 17 Jul 2018 08:18:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOie-0005uo-Cn for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiY-0007WP-CP for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:40 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:39334 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiY-0007Uv-8b for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:34 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D26D877885 for ; Tue, 17 Jul 2018 12:04:33 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id B97B32026D68; Tue, 17 Jul 2018 12:04:32 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:11 +0200 Message-Id: <20180717120414.5852-12-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 17 Jul 2018 12:04:33 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 17 Jul 2018 12:04:33 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 11/14] check: Only test virtio-rng when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- hw/virtio/virtio-pci.c | 6 ++++-- tests/Makefile.include | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index bdbc7ab78d..75c96990c0 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c @@ -2472,7 +2472,7 @@ static const TypeInfo virtio_net_pci_info =3D { }; =20 /* virtio-rng-pci */ - +#ifdef CONFIG_VIRTIO_RNG static void virtio_rng_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp) { VirtIORngPCI *vrng =3D VIRTIO_RNG_PCI(vpci_dev); @@ -2521,7 +2521,7 @@ static const TypeInfo virtio_rng_pci_info =3D { .instance_init =3D virtio_rng_initfn, .class_init =3D virtio_rng_pci_class_init, }; - +#endif /* virtio-input-pci */ =20 static Property virtio_input_pci_properties[] =3D { @@ -2693,7 +2693,9 @@ static const TypeInfo virtio_pci_bus_info =3D { =20 static void virtio_pci_register_types(void) { +#ifdef CONFIG_VIRTIO_RNG type_register_static(&virtio_rng_pci_info); +#endif type_register_static(&virtio_input_pci_info); type_register_static(&virtio_input_hid_pci_info); type_register_static(&virtio_keyboard_pci_info); diff --git a/tests/Makefile.include b/tests/Makefile.include index 7feda20577..a9cb5e926b 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -195,8 +195,8 @@ check-qtest-virtio-$(CONFIG_VIRTIO_BALLOON) +=3D tests/= virtio-balloon-test$(EXESUF gcov-files-virtio-$(CONFIG_VIRTIO_BALLOON) +=3D i386-softmmu/hw/virtio/vir= tio-balloon.c check-qtest-virtio-y +=3D tests/virtio-blk-test$(EXESUF) gcov-files-virtio-y +=3D i386-softmmu/hw/block/virtio-blk.c -check-qtest-virtio-y +=3D tests/virtio-rng-test$(EXESUF) -gcov-files-virtio-y +=3D hw/virtio/virtio-rng.c +check-qtest-virtio-$(CONFIG_VIRTIO_RNG) +=3D tests/virtio-rng-test$(EXESUF) +gcov-files-virtio-$(CONFIG_VIRTIO_RNG) +=3D hw/virtio/virtio-rng.c check-qtest-virtio-y +=3D tests/virtio-scsi-test$(EXESUF) gcov-files-virtio-y +=3D i386-softmmu/hw/scsi/virtio-scsi.c ifeq ($(CONFIG_VIRTIO)$(CONFIG_VIRTFS)$(CONFIG_PCI),yyy) --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829621920804.7543180970237; Tue, 17 Jul 2018 05:13:41 -0700 (PDT) Received: from localhost ([::1]:58895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOrL-0004SF-2K for importer@patchew.org; Tue, 17 Jul 2018 08:13:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOia-0005qF-Nc for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOiZ-0007Z0-Nj for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:36 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33932 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOiZ-0007Yh-Iv for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:35 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 31E357D84D for ; Tue, 17 Jul 2018 12:04:35 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2161D2026D68; Tue, 17 Jul 2018 12:04:33 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:12 +0200 Message-Id: <20180717120414.5852-13-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:35 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:35 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 12/14] check: Only test virtio-gpu when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/Makefile.include | 4 ++-- tests/display-vga-test.c | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index a9cb5e926b..c4d68061e5 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -238,8 +238,8 @@ check-qtest-pci-y +=3D tests/display-vga-test$(EXESUF) gcov-files-pci-y +=3D hw/display/vga.c gcov-files-pci-y +=3D hw/display/cirrus_vga.c gcov-files-pci-y +=3D hw/display/vga-pci.c -gcov-files-pci-y +=3D hw/display/virtio-gpu.c -gcov-files-pci-y +=3D hw/display/virtio-gpu-pci.c +gcov-files-pci-$(CONFIG_VIRTIO_GPU) +=3D hw/display/virtio-gpu.c +gcov-files-pci-$(CONFIG_VIRTIO_GPU) +=3D hw/display/virtio-gpu-pci.c gcov-files-pci-$(CONFIG_VIRTIO_VGA) +=3D hw/display/virtio-vga.c check-qtest-pci-$(CONFIG_HDA) +=3D tests/intel-hda-test$(EXESUF) gcov-files-pci-$(CONFIG_HDA) +=3D hw/audio/intel-hda.c hw/audio/hda-codec.c diff --git a/tests/display-vga-test.c b/tests/display-vga-test.c index 2d7d24eee0..b716e70a4b 100644 --- a/tests/display-vga-test.c +++ b/tests/display-vga-test.c @@ -34,11 +34,13 @@ static void pci_multihead(void) qtest_end(); } =20 +#ifdef CONFIG_VIRTIO_GPU static void pci_virtio_gpu(void) { qtest_start("-vga none -device virtio-gpu-pci"); qtest_end(); } +#endif =20 #ifdef CONFIG_VIRTIO_VGA static void pci_virtio_vga(void) @@ -61,7 +63,9 @@ int main(int argc, char **argv) qtest_add_func("/display/pci/stdvga", pci_stdvga); qtest_add_func("/display/pci/secondary", pci_secondary); qtest_add_func("/display/pci/multihead", pci_multihead); +#ifdef CONFIG_VIRTIO_GPU qtest_add_func("/display/pci/virtio-gpu", pci_virtio_gpu); +#endif #ifdef CONFIG_VIRTIO_VGA qtest_add_func("/display/pci/virtio-vga", pci_virtio_vga); #endif --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531829491189116.23901499737838; Tue, 17 Jul 2018 05:11:31 -0700 (PDT) Received: from localhost ([::1]:58872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOpG-0002l4-7y for importer@patchew.org; Tue, 17 Jul 2018 08:11:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOic-0005rX-2b for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOib-0007av-2K for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:38 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33934 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOia-0007aY-Tw for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:36 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 826A27D84D for ; Tue, 17 Jul 2018 12:04:36 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 75D6B2026D68; Tue, 17 Jul 2018 12:04:35 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:13 +0200 Message-Id: <20180717120414.5852-14-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:36 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 17 Jul 2018 12:04:36 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 13/14] check: Only test virtio-input when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" The full of it. Introspection is able to search for drivers that you aren't there, so just disable it. Signed-off-by: Juan Quintela --- hw/virtio/virtio-pci.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index 75c96990c0..987d7c0a5a 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c @@ -2524,6 +2524,7 @@ static const TypeInfo virtio_rng_pci_info =3D { #endif /* virtio-input-pci */ =20 +#ifdef CONFIG_VIRTIO_INPUT static Property virtio_input_pci_properties[] =3D { DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors, 2), DEFINE_PROP_END_OF_LIST(), @@ -2645,6 +2646,7 @@ static const TypeInfo virtio_host_pci_info =3D { .instance_init =3D virtio_host_initfn, }; #endif +#endif =20 /* virtio-pci-bus */ =20 @@ -2696,6 +2698,7 @@ static void virtio_pci_register_types(void) #ifdef CONFIG_VIRTIO_RNG type_register_static(&virtio_rng_pci_info); #endif +#ifdef CONFIG_VIRTIO_INPUT type_register_static(&virtio_input_pci_info); type_register_static(&virtio_input_hid_pci_info); type_register_static(&virtio_keyboard_pci_info); @@ -2703,6 +2706,7 @@ static void virtio_pci_register_types(void) type_register_static(&virtio_tablet_pci_info); #ifdef CONFIG_LINUX type_register_static(&virtio_host_pci_info); +#endif #endif type_register_static(&virtio_pci_bus_info); type_register_static(&virtio_pci_info); --=20 2.17.1 From nobody Wed Nov 5 00:16:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1531830098128709.8780738919872; Tue, 17 Jul 2018 05:21:38 -0700 (PDT) Received: from localhost ([::1]:58960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOz3-0002an-3j for importer@patchew.org; Tue, 17 Jul 2018 08:21:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffOid-0005tx-Mz for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffOic-0007bu-FS for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:39 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:38096 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ffOic-0007bT-9K for qemu-devel@nongnu.org; Tue, 17 Jul 2018 08:04:38 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D4FF181A4EAF for ; Tue, 17 Jul 2018 12:04:37 +0000 (UTC) Received: from secure.mitica (ovpn-117-62.ams2.redhat.com [10.36.117.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id C84BA2026D68; Tue, 17 Jul 2018 12:04:36 +0000 (UTC) From: Juan Quintela To: qemu-devel@nongnu.org Date: Tue, 17 Jul 2018 14:04:14 +0200 Message-Id: <20180717120414.5852-15-quintela@redhat.com> In-Reply-To: <20180717120414.5852-1-quintela@redhat.com> References: <20180717120414.5852-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 17 Jul 2018 12:04:37 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 17 Jul 2018 12:04:37 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'quintela@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 14/14] check: Only test virtio-scsi when it is compiled in X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Juan Quintela --- tests/Makefile.include | 4 ++-- tests/cdrom-test.c | 4 ++++ tests/drive_del-test.c | 6 ++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index c4d68061e5..74ee02348c 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -197,8 +197,8 @@ check-qtest-virtio-y +=3D tests/virtio-blk-test$(EXESUF) gcov-files-virtio-y +=3D i386-softmmu/hw/block/virtio-blk.c check-qtest-virtio-$(CONFIG_VIRTIO_RNG) +=3D tests/virtio-rng-test$(EXESUF) gcov-files-virtio-$(CONFIG_VIRTIO_RNG) +=3D hw/virtio/virtio-rng.c -check-qtest-virtio-y +=3D tests/virtio-scsi-test$(EXESUF) -gcov-files-virtio-y +=3D i386-softmmu/hw/scsi/virtio-scsi.c +check-qtest-virtio-$(CONFIG_VIRTIO_SCSI) +=3D tests/virtio-scsi-test$(EXES= UF) +gcov-files-virtio-$(CONFIG_VIRTIO_SCSI) +=3D i386-softmmu/hw/scsi/virtio-s= csi.c ifeq ($(CONFIG_VIRTIO)$(CONFIG_VIRTFS)$(CONFIG_PCI),yyy) check-qtest-virtio-y +=3D tests/virtio-9p-test$(EXESUF) gcov-files-virtio-y +=3D hw/9pfs/virtio-9p.c diff --git a/tests/cdrom-test.c b/tests/cdrom-test.c index 0d7dff6da5..46ec5d43e9 100644 --- a/tests/cdrom-test.c +++ b/tests/cdrom-test.c @@ -129,9 +129,11 @@ static void test_cdboot(gconstpointer data) static void add_x86_tests(void) { qtest_add_data_func("cdrom/boot/default", "-cdrom ", test_cdboot); +#ifdef CONFIG_VIRTIO_SCSI qtest_add_data_func("cdrom/boot/virtio-scsi", "-device virtio-scsi -device scsi-cd,drive=3Dcdr " "-blockdev file,node-name=3Dcdr,filename=3D", test= _cdboot); +#endif qtest_add_data_func("cdrom/boot/isapc", "-M isapc " "-drive if=3Dide,media=3Dcdrom,file=3D", test_cdbo= ot); #ifdef CONFIG_ESP_PCI @@ -160,9 +162,11 @@ static void add_x86_tests(void) static void add_s390x_tests(void) { qtest_add_data_func("cdrom/boot/default", "-cdrom ", test_cdboot); +#ifdef CONFIG_VIRTIO_SCSI qtest_add_data_func("cdrom/boot/virtio-scsi", "-device virtio-scsi -device scsi-cd,drive=3Dcdr " "-blockdev file,node-name=3Dcdr,filename=3D", test= _cdboot); +#endif } =20 int main(int argc, char **argv) diff --git a/tests/drive_del-test.c b/tests/drive_del-test.c index 852fefc8f3..d6f010269a 100644 --- a/tests/drive_del-test.c +++ b/tests/drive_del-test.c @@ -31,6 +31,7 @@ static void drive_del(void) g_free(resp); } =20 +#ifdef CONFIG_VIRTIO_SCSI static void device_del(void) { QDict *response; @@ -43,6 +44,7 @@ static void device_del(void) g_assert(qdict_haskey(response, "return")); qobject_unref(response); } +#endif =20 static void test_drive_without_dev(void) { @@ -91,6 +93,7 @@ static void test_after_failed_device_add(void) qtest_end(); } =20 +#ifdef CONFIG_VIRTIO_SCSI static void test_drive_del_device_del(void) { char *args; @@ -112,6 +115,7 @@ static void test_drive_del_device_del(void) qtest_end(); g_free(args); } +#endif =20 int main(int argc, char **argv) { @@ -127,8 +131,10 @@ int main(int argc, char **argv) !strcmp(arch, "s390x")) { qtest_add_func("/drive_del/after_failed_device_add", test_after_failed_device_add); +#ifdef CONFIG_VIRTIO_SCSI qtest_add_func("/blockdev/drive_del_device_del", test_drive_del_device_del); +#endif } =20 return g_test_run(); --=20 2.17.1