From nobody Mon Feb 9 19:29:56 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55382+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55382+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583315564; cv=none; d=zohomail.com; s=zohoarc; b=LJpna9+Vfnx9CyZBtQ1Fe1j+TO810/ue+ftlisFOXvBkRV6QBM851EAmdz3eMUnfC9NVlHVMDPkDjZq5q7HhrL2sRAns1moKfThY7ONpzesfgOnaC2l2RdqfTQxv4a2Iu7XyJOtp4xFGBeU70sWF6SVW1t9ZPmNX6W7gQs8YYCU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583315564; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=jCntpb56egYqKmkQbC5JpzvVwPZif1Lzx6LL4FhQ4TU=; b=W7+66A03ZNsPvox/CfSe5QAsAqspmOWgCYmm5N0rTuNeUKUyWZRhg4JDrAebBkbfaVzVWieOT2J9s42tjRbbI3p+jdWCb6YUIWD59MaJLLqHxM23KeMRvsK3deAVfNlod1j8Zr7u+4GDc3jVVNrO5yQSdknFIZo/c1SehOjqLAc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55382+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 158331556448065.08317653378606; Wed, 4 Mar 2020 01:52:44 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id e3cQYY1788612xuGUL5NCxwP; Wed, 04 Mar 2020 01:52:43 -0800 X-Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by mx.groups.io with SMTP id smtpd.web09.9056.1583315562937952408 for ; Wed, 04 Mar 2020 01:52:43 -0800 X-Received: by mail-wm1-f68.google.com with SMTP id a141so1161429wme.2 for ; Wed, 04 Mar 2020 01:52:42 -0800 (PST) X-Gm-Message-State: Nup1F76UAK3B6iMsACC0GdIux1787277AA= X-Google-Smtp-Source: ADFU+vvpv2LpUKnv86KWz0gRbroIkLReIl/AbRFjo1SghR2vMI8I2PyCHlM/VnoQqJBzRLGxT0sq5g== X-Received: by 2002:a05:600c:285:: with SMTP id 5mr2788612wmk.120.1583315560990; Wed, 04 Mar 2020 01:52:40 -0800 (PST) X-Received: from e123331-lin.home ([2a01:cb1d:112:6f00:816e:ff0d:fb69:f613]) by smtp.gmail.com with ESMTPSA id v16sm20781095wrp.84.2020.03.04.01.52.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 01:52:40 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: lersek@redhat.com, Ard Biesheuvel Subject: [edk2-devel] [PATCH v2 01/14] OvmfPkg: add GUID for the QEMU kernel loader fs media device path Date: Wed, 4 Mar 2020 10:52:20 +0100 Message-Id: <20200304095233.21046-2-ard.biesheuvel@linaro.org> In-Reply-To: <20200304095233.21046-1-ard.biesheuvel@linaro.org> References: <20200304095233.21046-1-ard.biesheuvel@linaro.org> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ard.biesheuvel@linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583315563; bh=DIOhlYT4eW90YBd3gHbRQhToJ8gzxPNtnvuGzozfQtw=; h=Cc:Date:From:Reply-To:Subject:To; b=bks/sbZmIfnPy43/htUW0MpKJrQKkqkVmPvEPGDIom/3kcgyzJiSyp6ObQdXJDhyzIE 3YAG3TxYyei6/V3U7ToR3XPnpMMLDM1iWIKW2fkxx90hboskX6d3Zp6I15Muoix8nakys Yo+PPF/dN/aEbpn65hvOR+Lc6whMAfDOH6A= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" In an upcoming patch, we will introduce a separate DXE driver that exposes the virtual SimpleFileSystem implementation that carries the kernel and initrd passed via the QEMU command line, and a separate library that consumes it, to be incorporated into the boot manager. Since the GUID used for the SimpleFileSystem implementation's device path will no longer be for internal use only, create a well defined GUID to identify the media device path. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2566 Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek --- OvmfPkg/Include/Guid/QemuKernelLoaderFsMedia.h | 18 ++++++++++++++++++ OvmfPkg/OvmfPkg.dec | 1 + 2 files changed, 19 insertions(+) diff --git a/OvmfPkg/Include/Guid/QemuKernelLoaderFsMedia.h b/OvmfPkg/Inclu= de/Guid/QemuKernelLoaderFsMedia.h new file mode 100644 index 000000000000..225c3c494613 --- /dev/null +++ b/OvmfPkg/Include/Guid/QemuKernelLoaderFsMedia.h @@ -0,0 +1,18 @@ +/** @file + GUID definition for the QEMU LoaderFs media device path, containing the + kernel, initrd and command line as file objects + + Copyright (c) 2020, Arm, Ltd. All rights reserved.
+ + SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + +#ifndef QEMU_KERNEL_LOADER_FS_MEDIA_GUID_H__ +#define QEMU_KERNEL_LOADER_FS_MEDIA_GUID_H__ + +#define QEMU_KERNEL_LOADER_FS_MEDIA_GUID \ + {0x1428f772, 0xb64a, 0x441e, {0xb8, 0xc3, 0x9e, 0xbd, 0xd7, 0xf8, 0x93, = 0xc7}} + +extern EFI_GUID gQemuKernelLoaderFsMediaGuid; + +#endif diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec index 43d16372a270..a21b279d140a 100644 --- a/OvmfPkg/OvmfPkg.dec +++ b/OvmfPkg/OvmfPkg.dec @@ -87,6 +87,7 @@ [Guids] gEfiLegacyBiosGuid =3D {0x2E3044AC, 0x879F, 0x490F, {0x= 97, 0x60, 0xBB, 0xDF, 0xAF, 0x69, 0x5F, 0x50}} gEfiLegacyDevOrderVariableGuid =3D {0xa56074db, 0x65fe, 0x45f7, {0x= bd, 0x21, 0x2d, 0x2b, 0xdd, 0x8e, 0x96, 0x52}} gLinuxEfiInitrdMediaGuid =3D {0x5568e427, 0x68fc, 0x4f3d, {0x= ac, 0x74, 0xca, 0x55, 0x52, 0x31, 0xcc, 0x68}} + gQemuKernelLoaderFsMediaGuid =3D {0x1428f772, 0xb64a, 0x441e, {0x= b8, 0xc3, 0x9e, 0xbd, 0xd7, 0xf8, 0x93, 0xc7}} =20 [Ppis] # PPI whose presence in the PPI database signals that the TPM base addre= ss --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#55382): https://edk2.groups.io/g/devel/message/55382 Mute This Topic: https://groups.io/mt/71722794/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-