From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web09.7140.1635847435728022041 for ; Tue, 02 Nov 2021 03:03:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=X0/YmbGF; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635847434; 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=m2Ob7N/u/Alkn43WhUsIBPwE2aX5/hcz1dfy4M9DTao=; b=X0/YmbGFRfiBskAP30Z+Sfod05JPWlJmwP7OTOSCaCt6Tln1WlSOl6X98R6bLitCyD6fVH lsPYETmxhlk8qCBAo12XMb4UIRczz4xXOwuGQXYSha91lmkKTMge6FYCbHJ6hWW0AhEG0o iF/BjWhzMX9Sb+m/G+2y15P2J2xc4zA= 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-248-ZUy01jlKM02QOD1HCFc0HQ-1; Tue, 02 Nov 2021 06:03:51 -0400 X-MC-Unique: ZUy01jlKM02QOD1HCFc0HQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 280B41006AA2; Tue, 2 Nov 2021 10:03:50 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-112-241.phx2.redhat.com [10.3.112.241]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CB6A367842; Tue, 2 Nov 2021 10:03:49 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id F3F73180092D; Tue, 2 Nov 2021 11:03:47 +0100 (CET) Date: Tue, 2 Nov 2021 11:03:47 +0100 From: "Gerd Hoffmann" To: Dov Murik Cc: devel@edk2.groups.io, Brijesh Singh , Ard Biesheuvel , Jordan Justen , Erdem Aktas , James Bottomley , Jiewen Yao , Min Xu , Tom Lendacky Subject: Re: [PATCH 1/2] OvmfPkg/OvmfPkgX64: Add SEV launch secret and hashes table areas to MEMFD Message-ID: <20211102100347.ulf4mt4fwjrsbaud@sirius.home.kraxel.org> References: <20211102073422.340858-1-dovmurik@linux.ibm.com> <20211102073422.340858-2-dovmurik@linux.ibm.com> MIME-Version: 1.0 In-Reply-To: <20211102073422.340858-2-dovmurik@linux.ibm.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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 On Tue, Nov 02, 2021 at 07:34:21AM +0000, Dov Murik wrote: > The SEV launch secret area and the QEMU hashes table area were specified > in the OvmfPkg/AmdSev/AmdSevX64 MEMFD but not in OvmfPkg/OvmfPkgX64. > > Add them in OvmfPkgX64.fdf. > > After this change the two MEMFD descriptions are identical: > > $ sed -n -e '/FD.MEMFD/,/FV.SECFV/p' OvmfPkg/OvmfPkgX64.fdf | sha1sum > 6ff89173952413fbdb7ffbbf42f8bc389c928500 - > $ sed -n -e '/FD.MEMFD/,/FV.SECFV/p' OvmfPkg/AmdSev/AmdSevX64.fdf | sha1sum > 6ff89173952413fbdb7ffbbf42f8bc389c928500 - I'm wondering whenever you actually tried to boot a sev guest in microvm? I suspect it'll need more changes to actually work. take care, Gerd