From patchwork Fri Jan 18 22:33:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laszlo Ersek X-Patchwork-Id: 10771739 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3C6BA1390 for ; Fri, 18 Jan 2019 22:35:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28CF430642 for ; Fri, 18 Jan 2019 22:35:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19EE73064E; Fri, 18 Jan 2019 22:35:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 52FD130642 for ; Fri, 18 Jan 2019 22:35:24 +0000 (UTC) Received: from localhost ([127.0.0.1]:48309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkcjT-0005d2-8X for patchwork-qemu-devel@patchwork.kernel.org; Fri, 18 Jan 2019 17:35:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkciO-0004ig-Cv for qemu-devel@nongnu.org; Fri, 18 Jan 2019 17:34:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkciN-0001lQ-EA for qemu-devel@nongnu.org; Fri, 18 Jan 2019 17:34:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60116) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gkciN-0001i6-6I for qemu-devel@nongnu.org; Fri, 18 Jan 2019 17:34:15 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3E2BF72672; Fri, 18 Jan 2019 22:34:14 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-125-168.rdu2.redhat.com [10.10.125.168]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2326D5C554; Fri, 18 Jan 2019 22:34:02 +0000 (UTC) From: Laszlo Ersek To: qemu devel list Date: Fri, 18 Jan 2019 23:33:55 +0100 Message-Id: <20190118223400.24311-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 18 Jan 2019 22:34:14 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 0/5] add the BiosTablesTest UEFI app, build it with the new roms/edk2 submodule 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: Ard Biesheuvel , "Michael S. Tsirkin" , Shannon Zhao , Gerd Hoffmann , Igor Mammedov , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Igor's series [Qemu-devel] [PATCH 00/14] tests: acpi: add UEFI (ARM) testing support http://mid.mail-archive.com/1547566866-129386-1-git-send-email-imammedo@redhat.com worked with my edk2 (guest firmware) series [edk2] [PATCH 0/4] OvmfPkg, ArmVirtPkg: add ACPI Test Support http://mid.mail-archive.com/20181125100152.25675-1-lersek@redhat.com as long as the guest firmware was built with the necessary extra build flag. However, in the discussion under Igor's series, we seemed to reconsider a standalone UEFI application for the QEMU tree to carry. This series seeks to implement that option. Cc: "Michael S. Tsirkin" Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Igor Mammedov Cc: Philippe Mathieu-Daudé Cc: Shannon Zhao Thanks, Laszlo Laszlo Ersek (5): roms: add the edk2 project as a git submodule roms: build the EfiRom utility from the roms/edk2 submodule tests: introduce "uefi-test-tools" with the BiosTablesTest UEFI app tests/uefi-test-tools: add build scripts tests/data: introduce "uefi-boot-images" with the "bios-tables-test" ISOs .gitmodules | 3 + Makefile | 6 +- roms/Makefile | 13 +- roms/edk2 | 1 + tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2 | Bin 0 -> 11776 bytes tests/data/uefi-boot-images/bios-tables-test.arm.iso.qcow2 | Bin 0 -> 11776 bytes tests/data/uefi-boot-images/bios-tables-test.i386.iso.qcow2 | Bin 0 -> 12800 bytes tests/data/uefi-boot-images/bios-tables-test.x86_64.iso.qcow2 | Bin 0 -> 13312 bytes tests/uefi-test-tools/.gitignore | 3 + tests/uefi-test-tools/LICENSE | 25 ++++ tests/uefi-test-tools/Makefile | 92 +++++++++++++ tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.c | 130 ++++++++++++++++++ tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.inf | 41 ++++++ tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/BiosTablesTest.h | 67 +++++++++ tests/uefi-test-tools/UefiTestToolsPkg/UefiTestToolsPkg.dec | 27 ++++ tests/uefi-test-tools/UefiTestToolsPkg/UefiTestToolsPkg.dsc | 69 ++++++++++ tests/uefi-test-tools/build.sh | 145 ++++++++++++++++++++ 17 files changed, 614 insertions(+), 8 deletions(-) create mode 160000 roms/edk2 create mode 100644 tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2 create mode 100644 tests/data/uefi-boot-images/bios-tables-test.arm.iso.qcow2 create mode 100644 tests/data/uefi-boot-images/bios-tables-test.i386.iso.qcow2 create mode 100644 tests/data/uefi-boot-images/bios-tables-test.x86_64.iso.qcow2 create mode 100644 tests/uefi-test-tools/.gitignore create mode 100644 tests/uefi-test-tools/LICENSE create mode 100644 tests/uefi-test-tools/Makefile create mode 100644 tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.c create mode 100644 tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.inf create mode 100644 tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/BiosTablesTest.h create mode 100644 tests/uefi-test-tools/UefiTestToolsPkg/UefiTestToolsPkg.dec create mode 100644 tests/uefi-test-tools/UefiTestToolsPkg/UefiTestToolsPkg.dsc create mode 100755 tests/uefi-test-tools/build.sh Signed-off-by: Laszlo Ersek