Skip to content

tpm: Improve on error handling

Stefan Berger qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- defined error codes swtpm is using in tpm_int.h and provided strings for them

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tpm: Exit in reset when backend indicates failurehw/tpm/tpm_crb.c hw/tpm/tpm_tis.c+6 -20 replies
2/2tpm_emulator: Translate TPM error codes to stringshw/tpm/tpm_emulator.c hw/tpm/tpm_int.h+63 -101 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMarc-André Lureau
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] tpm: Improve on error handling

This series of patches improves error handling with the TPM backend.

Stefan

v1->v2:
- defined error codes swtpm is using in tpm_int.h and provided strings for them

Stefan Berger (2):
tpm: Exit in reset when backend indicates failure
tpm_emulator: Translate TPM error codes to strings

 hw/tpm/tpm_crb.c      |  4 ++-
 hw/tpm/tpm_emulator.c | 60 +++++++++++++++++++++++++++++++++++--------
 hw/tpm/tpm_int.h      | 13 ++++++++++
 hw/tpm/tpm_tis.c      |  4 ++-
 4 files changed, 69 insertions(+), 12 deletions(-)
Signature · 1 line
2.20.1