From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.81]) by mx.groups.io with SMTP id smtpd.web11.39104.1578930985813582512 for ; Mon, 13 Jan 2020 07:56:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Rf9VfHP1; spf=pass (domain: redhat.com, ip: 207.211.31.81, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578930984; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PGML9K1/7CJtEgqajcVklPg9fsVUreWUc7kNSjjm2EI=; b=Rf9VfHP1CM0Hpi+xh6ZJc333SctmRTHOSJu8cIeiFwP3IQJyXglETxoDcoFDkXYdlC/C75 8bXhmT0EMemVaTW0FLcEXmBoYHp7loOOUSjRZtOtz/V00oLgdvueaxDfjzTUsb43Skhdxs ub2Hzt9abIcPNig/3i22RlNYbQiPK5k= 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-401-qFWiLUSDNvKevBURhWighg-1; Mon, 13 Jan 2020 10:56:22 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5F41A107ACC4; Mon, 13 Jan 2020 15:56:21 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-224.ams2.redhat.com [10.36.116.224]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3462E5C1B0; Mon, 13 Jan 2020 15:56:14 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH 4/4] ArmVirtPkg/ArmVirtQemu: add optional support for TPM2 measured boot To: Gary Lin , edk2-devel-groups-io , "jiewen.yao@intel.com" Cc: Ard Biesheuvel , =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= References: <20200107094800.4488-1-ard.biesheuvel@linaro.org> <20200107094800.4488-5-ard.biesheuvel@linaro.org> <27a930b2-bbf8-a1d2-075f-6f33ce03b460@redhat.com> <6408f5c9-1759-5cd8-c570-5422fcff25e5@redhat.com> <74D8A39837DF1E4DA445A8C0B3885C503F8D6F2F@shsmsx102.ccr.corp.intel.com> <74D8A39837DF1E4DA445A8C0B3885C503F8D90BB@shsmsx102.ccr.corp.intel.com> <20200113015529.GE15544@GaryWorkstation> From: "Laszlo Ersek" Message-ID: <15a7a554-849b-dd15-3198-63ebe754f07b@redhat.com> Date: Mon, 13 Jan 2020 16:56:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200113015529.GE15544@GaryWorkstation> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: qFWiLUSDNvKevBURhWighg-1 X-Mimecast-Spam-Score: 0 Content-Language: en-US Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable On 01/13/20 02:55, Gary Lin wrote: > On Fri, Jan 10, 2020 at 12:32:02AM +0000, Yao, Jiewen wrote: >> Hi Marc-Andr=E9=20 >> Would you please share some information on how to use vTPM with QEMU? >> >> I saw https://github.com/stefanberger/qemu-tpm >> >> But I am not sure if that has been integrated to official QEMU release? >> > Actually the TPM document can be found in the qemu package: > https://github.com/qemu/qemu/blob/master/docs/specs/tpm.txt Ugh, I've completely forgotten that this file has a part dedicated to starting up the swtpm program! The text file itself is referenced near the top of "OvmfPkg/Include/IndustryStandard/QemuTpm.h". Now that I looked again at the text file, I only expected to see the device interface, and was surprised by the "swtpm" instructions :) > I also maintained a wiki page for openSUSE: > https://en.opensuse.org/Software_TPM_Emulator_For_QEMU Very nice. Thanks! Laszlo