From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkwAW-0006Sx-04 for qemu-devel@nongnu.org; Fri, 07 Jun 2013 08:53:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkwAT-0006KO-JL for qemu-devel@nongnu.org; Fri, 07 Jun 2013 08:53:23 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:41422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkwAT-0006HP-Cn for qemu-devel@nongnu.org; Fri, 07 Jun 2013 08:53:21 -0400 Received: from /spool/local by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 7 Jun 2013 06:53:19 -0600 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 3A6DA1FF001D for ; Fri, 7 Jun 2013 06:48:04 -0600 (MDT) Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r57CrOFU143574 for ; Fri, 7 Jun 2013 06:53:24 -0600 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 r57CrF2q001380 for ; Fri, 7 Jun 2013 06:53:15 -0600 Message-ID: <51B1D7B8.2080303@linux.vnet.ibm.com> Date: Fri, 07 Jun 2013 08:53:12 -0400 From: Corey Bryant MIME-Version: 1.0 References: <1370525564-16912-1-git-send-email-coreyb@linux.vnet.ibm.com> <20130607074123.GC16953@stefanha-thinkpad.redhat.com> In-Reply-To: <20130607074123.GC16953@stefanha-thinkpad.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/3] TPM NVRAM persistent storage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: kwolf@redhat.com, aliguori@us.ibm.com, stefanb@linux.vnet.ibm.com, mdroth@linux.vnet.ibm.com, qemu-devel@nongnu.org, jschopp@linux.vnet.ibm.com On 06/07/2013 03:41 AM, Stefan Hajnoczi wrote: > On Thu, Jun 06, 2013 at 09:32:42AM -0400, Corey Bryant wrote: >> This patch series provides persistent storage support that a TPM >> can use to store NVRAM data. It uses QEMU's block driver to store >> data on a drive image. The libtpms TPM 1.2 backend will be the >> initial user of this functionality to store data that must persist >> through a reboot or migration. A sample command line may look like >> this: >> >> qemu-system-x86_64 ... >> -drive file=/path/to/nvram.qcow2,id=drive-nvram0-0-0 >> -tpmdev libtpms,id=tpm-tpm0 >> -device tpm-tis,tpmdev=tpm-tpm0,id=tpm0,drive=drive-nvram0-0-0 >> >> Thanks, >> Corey >> >> Corey Bryant (3): >> nvram: Add TPM NVRAM implementation >> nvram: Add tpm-tis drive support >> TPM NVRAM test >> >> hw/tpm/Makefile.objs | 1 + >> hw/tpm/tpm_int.h | 2 + >> hw/tpm/tpm_nvram.c | 324 ++++++++++++++++++++++++++++++++++++++++++++++ >> hw/tpm/tpm_nvram.h | 25 ++++ >> hw/tpm/tpm_passthrough.c | 85 ++++++++++++ >> hw/tpm/tpm_tis.c | 8 + >> 6 files changed, 445 insertions(+), 0 deletions(-) >> create mode 100644 hw/tpm/tpm_nvram.c >> create mode 100644 hw/tpm/tpm_nvram.h >> > > Reviewed-by: Stefan Hajnoczi > > Thanks again for the review! -- Regards, Corey Bryant