qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH 1/4] tpm: print buffers received from TPM when d


From: Stefan Berger
Subject: [Qemu-devel] [RFC PATCH 1/4] tpm: print buffers received from TPM when debugging
Date: Wed, 11 Oct 2017 17:37:28 -0400

Signed-off-by: Stefan Berger <address@hidden>
---
 hw/tpm/tpm_tis.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c
index d5118e7..9bf0bce 100644
--- a/hw/tpm/tpm_tis.c
+++ b/hw/tpm/tpm_tis.c
@@ -373,6 +373,8 @@ static void tpm_tis_receive_bh(void *opaque)
     tis->loc[locty].r_offset = 0;
     tis->loc[locty].w_offset = 0;
 
+    tpm_tis_show_buffer(&tis->loc[locty].r_buffer, "tpm_tis: From TPM");
+
     if (TPM_TIS_IS_VALID_LOCTY(tis->next_locty)) {
         tpm_tis_abort(s, locty);
     }
-- 
2.5.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]