qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 0/3] TPM NVRAM persistent storage


From: Corey Bryant
Subject: Re: [Qemu-devel] [PATCH v3 0/3] TPM NVRAM persistent storage
Date: Fri, 07 Jun 2013 08:53:12 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6



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 <address@hidden>



Thanks again for the review!

--
Regards,
Corey Bryant




reply via email to

[Prev in Thread] Current Thread [Next in Thread]