From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46632 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqTeh-0001OL-TV for qemu-devel@nongnu.org; Fri, 18 Feb 2011 11:58:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqTeg-0006ot-EF for qemu-devel@nongnu.org; Fri, 18 Feb 2011 11:58:07 -0500 Received: from e35.co.us.ibm.com ([32.97.110.153]:45104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqTeg-0006is-8u for qemu-devel@nongnu.org; Fri, 18 Feb 2011 11:58:06 -0500 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by e35.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p1IGMaEj026601 for ; Fri, 18 Feb 2011 09:22:36 -0700 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p1IGb2hd100196 for ; Fri, 18 Feb 2011 09:37:02 -0700 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p1IGb17p031381 for ; Fri, 18 Feb 2011 09:37:01 -0700 Message-ID: <4D5EA02D.4060801@linux.vnet.ibm.com> Date: Fri, 18 Feb 2011 11:37:01 -0500 From: Stefan Berger MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface References: <1298043215-10083-1-git-send-email-andreas.niederl@iaik.tugraz.at> <1298043215-10083-2-git-send-email-andreas.niederl@iaik.tugraz.at> In-Reply-To: <1298043215-10083-2-git-send-email-andreas.niederl@iaik.tugraz.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas Niederl Cc: qemu-devel@nongnu.org On 02/18/2011 10:33 AM, Andreas Niederl wrote: > This implementation is based on the TPM 1.2 interface for virtualized TPM > devices from the Xen-4.0.0 ioemu-qemu-xen fork. > > A backend driver infrastructure is provided to be able to use different > device backends. > > Signed-off-by: Andreas Niederl > > --- /dev/null > +++ b/hw/tpm_tis.c > @@ -0,0 +1,705 @@ > +/* > + * tpm_tis.c - QEMU emulator for a 1.2 TPM with TIS interface > + * > + * Copyright (C) 2006 IBM Corporation > + * Copyright (C) 2011 IAIK, Graz University of Technology > + * > + * Author: Stefan Berger > + * David Safford > + * > + * Author: Andreas Niederl > + * Modified to use a separate TPM device backend > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License as > + * published by the Free Software Foundation, version 2 of the > + * License. > + * > + * > + * Implementation of the TIS interface according to specs at > + * https://www.trustedcomputinggroup.org/ > + * I have a tpm_tis.c with major changes in it getting rid of the polling, closer to specs that passes a test suite and a registerable backend as well that has several more interface functions, due to support for snapshotting etc. Unfortunately it doesn't make much sense for me to post it since the backend is based on a library that's currently in the Fedora review process and nobody else could build or test it -- unless there really was interest in reviewing at least some part of it. It would certainly be desirable if your backend and mine could be accommodate. Stefan