From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web08.66034.1629355785786787620 for ; Wed, 18 Aug 2021 23:49:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SMnt13Vv; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629355785; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5fYeydTHNtwdWRwc9mehryz9XpptBhX1OcN1Zfr2/wM=; b=SMnt13VvBdjjXSVRAiNVLlno2pDCv5WDfScoJZUaLLtVy6v9sdO61dMjl77QYxY5VEwUOX yOdJ+fLTxDEeLPrya8c7UJ8n52YlKPfOVMV9EGEtCxjDBCTKMQuEkWurLha1a4JPkQGgqW aOr+p4VSIoBOFd8njY0NRgbd1yVMeS0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-261-2nt-xVJyMMmsuu2_7e24sg-1; Thu, 19 Aug 2021 02:49:41 -0400 X-MC-Unique: 2nt-xVJyMMmsuu2_7e24sg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C04401051470; Thu, 19 Aug 2021 06:49:39 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.216]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 67FBE60C04; Thu, 19 Aug 2021 06:49:39 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id C1C961800385; Thu, 19 Aug 2021 08:49:37 +0200 (CEST) Date: Thu, 19 Aug 2021 08:49:37 +0200 From: "Gerd Hoffmann" To: devel@edk2.groups.io, min.m.xu@intel.com Cc: Ard Biesheuvel , Jordan Justen , Brijesh Singh , Erdem Aktas , James Bottomley , Jiewen Yao , Tom Lendacky Subject: Re: [edk2-devel] [PATCH 18/23] OvmfPkg: Enable Tdx in SecMain.c Message-ID: <20210819064937.o646vxjebwzgfgoz@sirius.home.kraxel.org> References: <95f116893a4a17c7e0966e240a650f871c9f9392.1628767741.git.min.m.xu@intel.com> MIME-Version: 1.0 In-Reply-To: <95f116893a4a17c7e0966e240a650f871c9f9392.1628767741.git.min.m.xu@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, > +/** > + In Tdx guest, some information need to be passed from host VMM to guest > + firmware. For example, the memory resource, etc. These information are > + prepared by host VMM and put in HobList which is described in TdxMetadata. What kind of information is passed to the guest here? qemu has fw_cfg to pass information from the VMM to the guest firmware. What are the reasons to not use fw_cfg? thanks, Gerd