From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkrIh-0002M7-7x for qemu-devel@nongnu.org; Fri, 07 Jun 2013 03:41:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkrIe-0004o4-HG for qemu-devel@nongnu.org; Fri, 07 Jun 2013 03:41:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkrIe-0004nw-9H for qemu-devel@nongnu.org; Fri, 07 Jun 2013 03:41:28 -0400 Date: Fri, 7 Jun 2013 09:41:23 +0200 From: Stefan Hajnoczi Message-ID: <20130607074123.GC16953@stefanha-thinkpad.redhat.com> References: <1370525564-16912-1-git-send-email-coreyb@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1370525564-16912-1-git-send-email-coreyb@linux.vnet.ibm.com> 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: Corey Bryant Cc: kwolf@redhat.com, aliguori@us.ibm.com, stefanb@linux.vnet.ibm.com, qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com, jschopp@linux.vnet.ibm.com 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