From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5bSF-0006sk-Gz for qemu-devel@nongnu.org; Tue, 02 May 2017 13:19:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5bSC-00058F-BL for qemu-devel@nongnu.org; Tue, 02 May 2017 13:19:15 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:48813 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d5bSC-00057G-5w for qemu-devel@nongnu.org; Tue, 02 May 2017 13:19:12 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v42H94m1138511 for ; Tue, 2 May 2017 13:19:11 -0400 Received: from e14.ny.us.ibm.com (e14.ny.us.ibm.com [129.33.205.204]) by mx0b-001b2d01.pphosted.com with ESMTP id 2a6u653e5c-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 02 May 2017 13:19:11 -0400 Received: from localhost by e14.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 2 May 2017 13:19:10 -0400 References: <1493725969-19518-1-git-send-email-amarnath.valluri@intel.com> <1493725969-19518-9-git-send-email-amarnath.valluri@intel.com> <38a2aa2e-6270-63af-3dec-bd666d56780d@linux.vnet.ibm.com> From: Stefan Berger Date: Tue, 2 May 2017 13:19:07 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Message-Id: <5ee48b85-0404-a810-95b5-4b19b197373e@linux.vnet.ibm.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 8/8] tpm: Added support for TPM emulator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , Amarnath Valluri , qemu-devel@nongnu.org Cc: patrick.ohly@intel.com On 05/02/2017 01:09 PM, Marc-Andr=C3=A9 Lureau wrote: > Hi > > On Tue, May 2, 2017 at 8:59 PM Stefan Berger > wrote: > >> On 05/02/2017 12:05 PM, Marc-Andr=C3=A9 Lureau wrote: >> >> Hi >> >> On Tue, May 2, 2017 at 3:53 PM Amarnath Valluri < >> amarnath.valluri@intel.com> wrote: >> >>> This change introduces a new TPM backend driver that can communicate = with >>> swtpm(software TPM emulator) using unix domain socket interface. >>> >>> Swtpm uses two unix sockets, one for plain TPM commands and responses= , >>> and one >>> for out-of-band control messages. >>> >>> >> Let's not forget to mention the external protocol this backend rely on= : >> https://github.com/stefanberger/swtpm/wiki/Control-Channel-Specificati= on >> >> The protocol documentation is quite limited. >> >> (I still question the need to rely on a public protocol, and a seperat= e >> helper process project. If we had a qemu-swtpm, we could more easily e= volve >> the protocol in the future) >> >> >> And who is going to implement that qemu-swtpm? Obviously this discussi= on >> doesn't contribute to progress if nobody is doing that in the end. >> > The same persons who try to push for that emulated TPM code. The easies= t > approach would be to copy/adapt the swtpm code in qemu, if the licence = is > compatible. I can help with that if there is a consensus it's a better > approach. It's a matter of time and at least I don't have time for that.=20 Nevertheless, I would suggest to reach that consensus so that we know=20 what will happen to at least 8/8 of this series.