Received: from eggs.gnu.org ([209.51.188.92]:49638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMD4e-0005VS-Sb for qemu-devel@nongnu.org; Thu, 02 May 2019 10:52:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMD4d-00030j-TH for qemu-devel@nongnu.org; Thu, 02 May 2019 10:52:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56328) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMD4b-0002yx-Sa for qemu-devel@nongnu.org; Thu, 02 May 2019 10:52:35 -0400 From: Igor Mammedov Date: Thu, 2 May 2019 16:51:58 +0200 Message-Id: <1556808723-226478-11-git-send-email-imammedo@redhat.com> In-Reply-To: <1556808723-226478-1-git-send-email-imammedo@redhat.com> References: <1556808723-226478-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v4 10/15] tests: acpi: ignore SMBIOS tests when UEFI firmware is used List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Laszlo Ersek , "Michael S. Tsirkin" , Gonglei , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Shannon Zhao , Wei Yang , Andrew Jones , Shameer Kolothum , Ben Warren , xuwei5@hisilicon.com, xuwei5@huawei.com, linuxarm@huawei.com once FW provides a pointer to SMBIOS entry point like it does for RSDP it should be possible to enable this one the same way. Signed-off-by: Igor Mammedov Reviewed-by: Laszlo Ersek --- v3: - add ref to a uefi-test-tools feature req into comment (Laszlo) --- tests/bios-tables-test.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index 84e1ce2..8302ffc 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -569,8 +569,15 @@ static void test_acpi_one(const char *params, test_data *data) } } - test_smbios_entry_point(data); - test_smbios_structs(data); + /* + * TODO: make SMBIOS tests work with UEFI firmware, + * Bug on uefi-test-tools to provide entry point: + * https://bugs.launchpad.net/qemu/+bug/1821884 + */ + if (!use_uefi) { + test_smbios_entry_point(data); + test_smbios_structs(data); + } assert(!global_qtest); qtest_quit(data->qts); -- 2.7.4