The following series of patches adds TPM support for ppc64. The CUSE TPM backend, which is part of the TPM passthrough backend, should be considered for providing a private vTPM to a VM. The series implementing support for this has recently been posted here:
http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg02163.html Stefan Berger (3): Enable PPC64 with TPM support tpm: remove TPMState usage from backend tpm: Support TPM for ppc64 using CRQ based interface backends/tpm.c | 5 +- configure | 3 +- hw/tpm/Makefile.objs | 2 + hw/tpm/spapr_vtpm.c | 539 +++++++++++++++++++++++++++++++++++++++++++ hw/tpm/spapr_vtpm.h | 65 ++++++ hw/tpm/tpm_passthrough.c | 18 +- hw/tpm/tpm_tis.c | 7 +- include/hw/ppc/spapr_vio.h | 1 + include/sysemu/tpm.h | 1 + include/sysemu/tpm_backend.h | 15 +- qapi-schema.json | 6 +- 11 files changed, 646 insertions(+), 16 deletions(-) create mode 100644 hw/tpm/spapr_vtpm.c create mode 100644 hw/tpm/spapr_vtpm.h -- 1.9.3