From 298d8b81d45d2297f88d93604bd5eebfd653d6cf Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Wed, 11 Oct 2017 15:46:14 -0400 Subject: tpm: print buffers received from TPM when debugging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Berger Reviewed-by: Marc-André Lureau --- hw/tpm/tpm_tis.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/tpm/tpm_tis.c') 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); } -- cgit v1.2.1