From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33347C433F5 for ; Tue, 24 May 2022 07:03:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234409AbiEXHDq (ORCPT ); Tue, 24 May 2022 03:03:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231145AbiEXHDp (ORCPT ); Tue, 24 May 2022 03:03:45 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7A0B27CDE0 for ; Tue, 24 May 2022 00:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653375823; 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=h9cO83JBMGza0jBk6cYoJ/7qJT/11ZiHEpkMw+gbqNc=; b=FeFyTsbotTRgCRSjTFK6+UnXGkxMyUj6P6FoJOx3pQ2hKJxkivQ+j+JuH6shM2hF1oW68T CoJ99N4DHZ4DBSPjfWd2o6Fnlw2tGWwR+KoaA+5CDb/VZvy8QnGdbp25+rU0ZBIXxBDdK6 SMqLerOt1aEt6V93Y605VdgTR8oypbc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-2-mW9__dctMe6KngIikEwosg-1; Tue, 24 May 2022 03:03:36 -0400 X-MC-Unique: mW9__dctMe6KngIikEwosg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7CBC685A5AA; Tue, 24 May 2022 07:03:35 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.41]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3CA5E401E4C; Tue, 24 May 2022 07:03:35 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id B75DA1800393; Tue, 24 May 2022 09:03:33 +0200 (CEST) Date: Tue, 24 May 2022 09:03:33 +0200 From: Gerd Hoffmann To: Xiaoyao Li Cc: Paolo Bonzini , Isaku Yamahata , isaku.yamahata@intel.com, Daniel P =?utf-8?B?LiBCZXJyYW5nw6k=?= , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Richard Henderson , "Michael S . Tsirkin" , Marcel Apfelbaum , Cornelia Huck , Marcelo Tosatti , Laszlo Ersek , Eric Blake , Connor Kuehl , erdemaktas@google.com, kvm@vger.kernel.org, qemu-devel@nongnu.org, seanjc@google.com Subject: Re: [RFC PATCH v4 17/36] i386/tdx: Parse TDVF metadata for TDX VM Message-ID: <20220524070333.6on7b36ocr2spw4v@sirius.home.kraxel.org> References: <20220512031803.3315890-1-xiaoyao.li@intel.com> <20220512031803.3315890-18-xiaoyao.li@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220512031803.3315890-18-xiaoyao.li@intel.com> X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, May 12, 2022 at 11:17:44AM +0800, Xiaoyao Li wrote: > TDX cannot support pflash device since it doesn't support read-only > memslot and doesn't support emulation. Load TDVF(OVMF) with -bios option > for TDs. > > When boot a TD, besides load TDVF to the address below 4G, it needs > parse TDVF metadata. > > Signed-off-by: Xiaoyao Li Acked-by: Gerd Hoffmann