[Qemu-devel] [PULL v3 00/11] Merge tpm 2017/10/04

Stefan Berger posted 11 patches 6 years, 6 months ago
Failed in applying to current master (apply log)
Test checkpatch passed
Test docker passed
Test s390x passed
backends/tpm.c                   | 115 ++++++++------
configure                        |  13 +-
docs/specs/tpm.txt               | 123 +++++++++++++++
hmp.c                            |   5 +
hw/tpm/Makefile.objs             |   1 +
hw/tpm/tpm_emulator.c            | 587 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
hw/tpm/tpm_ioctl.h               | 246 ++++++++++++++++++++++++++++++
hw/tpm/tpm_passthrough.c         | 242 +++++++-----------------------
hw/tpm/tpm_tis.c                 |  14 +-
hw/tpm/tpm_util.c                |  35 ++++-
hw/tpm/tpm_util.h                |   4 +
include/sysemu/tpm_backend.h     |  80 +++++-----
include/sysemu/tpm_backend_int.h |  41 -----
qapi/tpm.json                    |  21 ++-
qemu-options.hx                  |  22 ++-
tpm.c                            |  37 +----
vl.c                             |   1 +
17 files changed, 1216 insertions(+), 371 deletions(-)
create mode 100644 docs/specs/tpm.txt
create mode 100644 hw/tpm/tpm_emulator.c
create mode 100644 hw/tpm/tpm_ioctl.h
delete mode 100644 include/sysemu/tpm_backend_int.h
[Qemu-devel] [PULL v3 00/11] Merge tpm 2017/10/04
Posted by Stefan Berger 6 years, 6 months ago
The following changes since commit f90ea7ba7c5ae7010ee0ce062207ae42530f57d6:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20171012' into staging (2017-10-12 17:06:50 +0100)

are available in the git repository at:

  git://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2017-10-04-3

for you to fetch changes up to 8dc67017220109fd5bc9d2bffa73674595f62e08:

  specs: Describe the TPM support in QEMU (2017-10-13 07:34:33 -0400)

----------------------------------------------------------------
Merge tpm 2017/10/04 v3

----------------------------------------------------------------
Amarnath Valluri (9):
      tpm-backend: Remove unneeded member variable from backend class
      tpm-backend: Move thread handling inside TPMBackend
      tpm-backend: Initialize and free data members in it's own methods
      tpm-backend: Made few interface methods optional
      tpm-backend: Add new API to read backend TpmInfo
      tpm-backend: Move realloc_buffer() implementation to tpm-tis model
      tpm-passthrough: move reusable code to utils
      tpm: Added support for TPM emulator
      tpm: Move tpm_cleanup() to right place

Stefan Berger (2):
      tpm: Use EMSGSIZE instead of EBADMSG to compile on OpenBSD
      specs: Describe the TPM support in QEMU

 backends/tpm.c                   | 115 ++++++++------
 configure                        |  13 +-
 docs/specs/tpm.txt               | 123 +++++++++++++++
 hmp.c                            |   5 +
 hw/tpm/Makefile.objs             |   1 +
 hw/tpm/tpm_emulator.c            | 587 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 hw/tpm/tpm_ioctl.h               | 246 ++++++++++++++++++++++++++++++
 hw/tpm/tpm_passthrough.c         | 242 +++++++-----------------------
 hw/tpm/tpm_tis.c                 |  14 +-
 hw/tpm/tpm_util.c                |  35 ++++-
 hw/tpm/tpm_util.h                |   4 +
 include/sysemu/tpm_backend.h     |  80 +++++-----
 include/sysemu/tpm_backend_int.h |  41 -----
 qapi/tpm.json                    |  21 ++-
 qemu-options.hx                  |  22 ++-
 tpm.c                            |  37 +----
 vl.c                             |   1 +
 17 files changed, 1216 insertions(+), 371 deletions(-)
 create mode 100644 docs/specs/tpm.txt
 create mode 100644 hw/tpm/tpm_emulator.c
 create mode 100644 hw/tpm/tpm_ioctl.h
 delete mode 100644 include/sysemu/tpm_backend_int.h


-- 
2.5.5


Re: [Qemu-devel] [PULL v3 00/11] Merge tpm 2017/10/04
Posted by Peter Maydell 6 years, 6 months ago
On 13 October 2017 at 12:44, Stefan Berger <stefanb@linux.vnet.ibm.com> wrote:
> The following changes since commit f90ea7ba7c5ae7010ee0ce062207ae42530f57d6:
>
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20171012' into staging (2017-10-12 17:06:50 +0100)
>
> are available in the git repository at:
>
>   git://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2017-10-04-3
>
> for you to fetch changes up to 8dc67017220109fd5bc9d2bffa73674595f62e08:
>
>   specs: Describe the TPM support in QEMU (2017-10-13 07:34:33 -0400)
>
> ----------------------------------------------------------------
> Merge tpm 2017/10/04 v3
>

Applied, thanks.

-- PMM