qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/3] TPM NVRAM persistent storage
@ 2013-06-06 13:32 Corey Bryant
  2013-06-06 13:32 ` [Qemu-devel] [PATCH v3 1/3] nvram: Add TPM NVRAM implementation Corey Bryant
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Corey Bryant @ 2013-06-06 13:32 UTC (permalink / raw)
  To: qemu-devel
  Cc: kwolf, aliguori, stefanb, Corey Bryant, mdroth, jschopp, stefanha

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-06-14 18:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-06 13:32 [Qemu-devel] [PATCH v3 0/3] TPM NVRAM persistent storage Corey Bryant
2013-06-06 13:32 ` [Qemu-devel] [PATCH v3 1/3] nvram: Add TPM NVRAM implementation Corey Bryant
2013-06-06 13:32 ` [Qemu-devel] [PATCH v3 2/3] nvram: Add tpm-tis drive support Corey Bryant
2013-06-07  7:41 ` [Qemu-devel] [PATCH v3 0/3] TPM NVRAM persistent storage Stefan Hajnoczi
2013-06-07 12:53   ` Corey Bryant
2013-06-14 14:01 ` Anthony Liguori
2013-06-14 15:05   ` Corey Bryant
2013-06-14 15:38     ` Anthony Liguori
2013-06-14 15:50       ` Stefan Berger
2013-06-14 15:51       ` Corey Bryant
2013-06-14 15:56         ` Anthony Liguori
2013-06-14 16:21           ` Corey Bryant
2013-06-14 18:22             ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).