qemu/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 hw/tpm: Make 'tpm_util.h' publicly accessible as "sysemu/tpm_util.h" 2020-06-19 07:25:48 -04:00
tpm_ppi.c hw/tpm: Move 'hw/acpi/tpm.h' inclusion from header to sources 2020-06-19 07:25:15 -04:00
tpm_ppi.h hw/tpm: Move 'hw/acpi/tpm.h' inclusion from header to sources 2020-06-19 07:25:15 -04:00
tpm_prop.h hw/tpm: Move DEFINE_PROP_TPMBE() macro to 'tmp_prop.h' local header 2020-06-19 07:25:42 -04:00
tpm_spapr.c tpm: tpm_spapr: Exit on TPM backend failures 2020-07-15 14:57:33 -04:00
tpm_tis_common.c hw/tpm: Make 'tpm_util.h' publicly accessible as "sysemu/tpm_util.h" 2020-06-19 07:25:48 -04:00
tpm_tis_isa.c hw/tpm: Move DEFINE_PROP_TPMBE() macro to 'tmp_prop.h' local header 2020-06-19 07:25:42 -04:00
tpm_tis_sysbus.c hw/tpm: Move DEFINE_PROP_TPMBE() macro to 'tmp_prop.h' local header 2020-06-19 07:25:42 -04:00
tpm_tis.h hw/tpm: Do not include 'qemu/osdep.h' in header 2020-06-19 07:24:59 -04:00
trace-events tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00