qemu-patch-raspberry4/hw/tpm
Stefan Berger f8b332a1ff tpm: tpm_spapr: Exit on TPM backend failures
Exit on TPM backend failures in the same way as the TPM CRB and TIS device
models do. With this change we now get an error report when the backend
did not start up properly:

error: internal error: qemu unexpectedly closed the monitor:
2020-07-07T12:49:28.333928Z qemu-system-ppc64: tpm-emulator: \
  TPM result for CMD_INIT: 0x101 operation failed

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20200707201625.4177419-2-stefanb@linux.vnet.ibm.com
2020-07-15 14:57:33 -04:00
..
Kconfig tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00
Makefile.objs tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00
tpm_crb.c
tpm_ppi.c
tpm_ppi.h
tpm_prop.h
tpm_spapr.c tpm: tpm_spapr: Exit on TPM backend failures 2020-07-15 14:57:33 -04:00
tpm_tis.h
tpm_tis_common.c
tpm_tis_isa.c
tpm_tis_sysbus.c
trace-events tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00