[Qemu-devel] [RFC PATCH 0/4] tpm: Extend TPM with state migration support

Stefan Berger posted 4 patches 6 years, 6 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
backends/tpm.c               |  25 ++++
hw/tpm/tpm_emulator.c        | 313 +++++++++++++++++++++++++++++++++++++++++--
hw/tpm/tpm_int.h             |   3 +
hw/tpm/tpm_tis.c             | 154 ++++++++++++++++++++-
hw/tpm/tpm_tis.h             |   2 +
hw/tpm/tpm_util.c            |   7 +
hw/tpm/tpm_util.h            |   2 +
include/sysemu/tpm_backend.h |  22 +++
8 files changed, 517 insertions(+), 11 deletions(-)
[Qemu-devel] [RFC PATCH 0/4] tpm: Extend TPM with state migration support
Posted by Stefan Berger 6 years, 6 months ago
This set of patches implements support for migrating the state of the
external 'swtpm' TPM emulator. I have primarily tested this with TPM 1.2
so far.

This series of patches builds on top of the recent pull request

   Stefan

Stefan Berger (4):
  tpm: print buffers received from TPM when debugging
  tpm: Introduce condition to notify waiters of completed command
  tpm: Introduce condition in TPM backend for notification
  tpm: extend TPM emulator and TIS with state migration support

 backends/tpm.c               |  25 ++++
 hw/tpm/tpm_emulator.c        | 313 +++++++++++++++++++++++++++++++++++++++++--
 hw/tpm/tpm_int.h             |   3 +
 hw/tpm/tpm_tis.c             | 154 ++++++++++++++++++++-
 hw/tpm/tpm_tis.h             |   2 +
 hw/tpm/tpm_util.c            |   7 +
 hw/tpm/tpm_util.h            |   2 +
 include/sysemu/tpm_backend.h |  22 +++
 8 files changed, 517 insertions(+), 11 deletions(-)

-- 
2.5.5


Re: [Qemu-devel] [RFC PATCH 0/4] tpm: Extend TPM with state migration support
Posted by Eric Blake 6 years, 6 months ago
On 10/11/2017 04:37 PM, Stefan Berger wrote:
> This set of patches implements support for migrating the state of the
> external 'swtpm' TPM emulator. I have primarily tested this with TPM 1.2
> so far.
> 
> This series of patches builds on top of the recent pull request

Just to make sure patchew knows what you mean:

Based-on:
https://lists.gnu.org/archive/html/qemu-devel/2017-10/msg02050.html
[PULL v2 00/10] Merge tpm 2017/10/04

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org