qemu-cr16/backends/tpm
Vladimir Sementsov-Ogievskiy 3469a56fa3 tmp_emulator: improve and fix use of errp
tpm_emulator_post_load() and tpm_emulator_set_state_blobs() has
error paths, where they return negative value, but do not set
errp.

To fix that, we also have to convert several other functions to
set errp instead of error_reporting.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Link: https://lore.kernel.org/r/20251028130738.29037-3-vsementsov@yandex-team.ru
Signed-off-by: Peter Xu <peterx@redhat.com>
2025-11-03 16:04:10 -05:00
..
Kconfig tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
tpm_backend.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
tpm_emulator.c tmp_emulator: improve and fix use of errp 2025-11-03 16:04:10 -05:00
tpm_int.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
tpm_ioctl.h tpm: Use new ptm_cap_n structure for PTM_GET_CAPABILITY 2024-10-18 07:53:11 -04:00
tpm_passthrough.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
tpm_util.c include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
trace-events tpm: Use new ptm_cap_n structure for PTM_GET_CAPABILITY 2024-10-18 07:53:11 -04:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00