From nobody Sat Feb 7 04:47:02 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+97255+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+97255+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1670835850; cv=none; d=zohomail.com; s=zohoarc; b=kCxZhsuXrOQkexHCT8lgkTsCHJFQsPOpbv92owCFdlm07Mz1Z33WVFYWUr01JNeCl4ZYw9kscvwZTIN1WFydP2tX1Ik7gHsTMisqDp7v28YUQdFWdKLoLQd8I+6DjVyoI2WStSCs2okUrhqWq049dHp4Wpx7Ikv7aGsTlEZIy2o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670835850; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=ZdaQHH/PJ16fGbJ6sWHdaufL1ZqSoYm9GJuH8somZy8=; b=PhtvUker4zDEz8Y6u4azf55ZkH5oBKuBCr0DMmGTWbxc5FqpOHjKpU/f3mesqcvh2r4UlZBoNRuRG4oeqgwNggTE2DVxeAzqAPDlfwncU3dQyiKA2kpLtg6t4/k4J7IAG4Drl1/SGnJHQu/qytZlq6ITOyA7y2K9URzazaFglvo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+97255+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 167083585080052.380703391857196; Mon, 12 Dec 2022 01:04:10 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id wIF5YY1788612xYISAwgLTm3; Mon, 12 Dec 2022 01:04:10 -0800 X-Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.38636.1670835849395123448 for ; Mon, 12 Dec 2022 01:04:09 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10558"; a="301226004" X-IronPort-AV: E=Sophos;i="5.96,237,1665471600"; d="scan'208";a="301226004" X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2022 01:04:06 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10558"; a="822414771" X-IronPort-AV: E=Sophos;i="5.96,237,1665471600"; d="scan'208";a="822414771" X-Received: from vdesserx-mobl1.ger.corp.intel.com (HELO sboeuf-mobl.home) ([10.252.58.223]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2022 01:04:04 -0800 From: "Boeuf, Sebastien" To: devel@edk2.groups.io Cc: jiewen.yao@intel.com, min.m.xu@intel.com, kraxel@redhat.com, sebastien.boeuf@intel.com Subject: [edk2-devel] [PATCH 2/3] OvmfPkg/PlatformInitLib: Transfer GUID Extension HOB Date: Mon, 12 Dec 2022 10:03:42 +0100 Message-Id: <99e1a00aba90014dba0135ef249f4bd649ca26f3.1670835199.git.sebastien.boeuf@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,sebastien.boeuf@intel.com X-Gm-Message-State: aiPEbe36Iu4MN9c4hVZGZLXvx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1670835850; bh=ZCL3buC0yzJA2CZwqC6XQh01RoVqtPX/4gFnb6CDzBY=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=XGuxQdZbUA4Nypv0oKciYHv/i2e5wFPJMoxSBs1gasjSK3a4I/WOTYIDdfA5o50ia74 2hSbTHXHMP/ZirC/TSsR4qHT7eycnOIMN1FLuzyrQly+IgxZoyHIQmStZsXoR2+OVeJ/x 99Bc2G8PZK1GxMBcsTJKLpKxvZ//H96NcUY= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1670835852977100002 Content-Type: text/plain; charset="utf-8" From: Sebastien Boeuf This is required for passing the ACPI tables from the VMM up to the guest OS. They are transferred through this GUID extension. Signed-off-by: Jiaqi Gao Signed-off-by: Sebastien Boeuf Reviewed-by: Min Xu --- OvmfPkg/Library/PlatformInitLib/IntelTdx.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/Library/PlatformInitLib/IntelTdx.c b/OvmfPkg/Library/P= latformInitLib/IntelTdx.c index acd114e38e..468855a968 100644 --- a/OvmfPkg/Library/PlatformInitLib/IntelTdx.c +++ b/OvmfPkg/Library/PlatformInitLib/IntelTdx.c @@ -547,6 +547,7 @@ TransferTdxHobList ( EFI_PEI_HOB_POINTERS Hob; EFI_RESOURCE_TYPE ResourceType; EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute; + VOID *GuidedData; =20 // // PcdOvmfSecGhcbBase is used as the TD_HOB in Tdx guest. @@ -577,6 +578,10 @@ TransferTdxHobList ( Hob.MemoryAllocation->AllocDescriptor.MemoryType ); break; + case EFI_HOB_TYPE_GUID_EXTENSION: + GuidedData =3D (VOID *) (&Hob.Guid->Name + 1); + BuildGuidDataHob (&Hob.Guid->Name, GuidedData, Hob.Guid->Header.Ho= bLength - sizeof(EFI_HOB_GUID_TYPE)); + break; } =20 Hob.Raw =3D GET_NEXT_HOB (Hob); --=20 2.34.1 --------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris,=20 92196 Meudon Cedex, France Registration Number: 302 456 199 R.C.S. NANTERRE Capital: 5 208 026.16 Euros This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -=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 (#97255): https://edk2.groups.io/g/devel/message/97255 Mute This Topic: https://groups.io/mt/95617497/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-