From: Stefan Berger Date: Wed, 11 Oct 2017 19:46:14 +0000 (-0400) Subject: tpm: print buffers received from TPM when debugging X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=298d8b81d45d2297f88d93604bd5eebfd653d6cf;p=qemu.git tpm: print buffers received from TPM when debugging Signed-off-by: Stefan Berger Reviewed-by: Marc-André Lureau --- diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c index 8c5cac5fa5..7402528b25 100644 --- a/hw/tpm/tpm_tis.c +++ b/hw/tpm/tpm_tis.c @@ -422,6 +422,8 @@ static void tpm_tis_receive_bh(void *opaque) s->loc[locty].r_offset = 0; s->loc[locty].w_offset = 0; + tpm_tis_show_buffer(&s->loc[locty].r_buffer, "tpm_tis: From TPM"); + if (TPM_TIS_IS_VALID_LOCTY(s->next_locty)) { tpm_tis_abort(s, locty); }