Failed in applying to current master (
apply log)
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