From patchwork Thu Jan 24 20:39:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laszlo Ersek X-Patchwork-Id: 10780141 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 5992A746 for ; Thu, 24 Jan 2019 20:49:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 497FA2F14B for ; Thu, 24 Jan 2019 20:49:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D9C72FC21; Thu, 24 Jan 2019 20:49:16 +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 C90742F14B for ; Thu, 24 Jan 2019 20:49:15 +0000 (UTC) Received: from localhost ([127.0.0.1]:60679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmlw3-0007ee-38 for patchwork-qemu-devel@patchwork.kernel.org; Thu, 24 Jan 2019 15:49:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmltk-0005ln-CK for qemu-devel@nongnu.org; Thu, 24 Jan 2019 15:46:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmlnS-0001h7-GS for qemu-devel@nongnu.org; Thu, 24 Jan 2019 15:40:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51742) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gmlnS-0001gd-6l for qemu-devel@nongnu.org; Thu, 24 Jan 2019 15:40:22 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1BD0AC0C9A8E; Thu, 24 Jan 2019 20:40:21 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-125-153.rdu2.redhat.com [10.10.125.153]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7949C5DF28; Thu, 24 Jan 2019 20:40:12 +0000 (UTC) From: Laszlo Ersek To: qemu devel list Date: Thu, 24 Jan 2019 21:39:54 +0100 Message-Id: <20190124203959.30875-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 24 Jan 2019 20:40:21 +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 v2 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 Previous version (v1): http://mid.mail-archive.com/20190118223400.24311-1-lersek@redhat.com Updates in v2 have been noted on each patch in the series. 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 | 97 +++++++++++++ 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, 619 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