From: Peter Maydell Date: Thu, 8 Mar 2018 12:56:39 +0000 (+0000) Subject: Merge remote-tracking branch 'remotes/stefanberger/tags/pull-tpm-2018-03-07-1' into... X-Git-Tag: v2.12.0-rc0~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0ab4537f08e09b13788db67efd760592fb7db769;p=thirdparty%2Fqemu.git Merge remote-tracking branch 'remotes/stefanberger/tags/pull-tpm-2018-03-07-1' into staging Merge tpm 2018/03/07 # gpg: Signature made Wed 07 Mar 2018 12:42:13 GMT # gpg: using RSA key 75AD65802A0B4211 # gpg: Good signature from "Stefan Berger " # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: B818 B9CA DF90 89C2 D5CE C66B 75AD 6580 2A0B 4211 * remotes/stefanberger/tags/pull-tpm-2018-03-07-1: tpm: convert tpm_tis.c to use trace-events tpm: convert tpm_emulator.c to use trace-events tpm: convert tpm_util.c to use trace-events tpm: convert tpm_passthrough.c to use trace-events tpm: convert tpm_crb.c to use trace-events Signed-off-by: Peter Maydell --- 0ab4537f08e09b13788db67efd760592fb7db769 diff --cc hw/tpm/tpm_emulator.c index f187a72c101,d0da10a1a6a..6418ef08310 --- a/hw/tpm/tpm_emulator.c +++ b/hw/tpm/tpm_emulator.c @@@ -38,16 -38,8 +38,9 @@@ #include "migration/blocker.h" #include "qapi/error.h" #include "qapi/clone-visitor.h" +#include "qapi/qapi-visit-tpm.h" #include "chardev/char-fe.h" - - #define DEBUG_TPM 0 - - #define DPRINTF(fmt, ...) do { \ - if (DEBUG_TPM) { \ - fprintf(stderr, "tpm-emulator:"fmt"\n", ## __VA_ARGS__); \ - } \ - } while (0) + #include "trace.h" #define TYPE_TPM_EMULATOR "tpm-emulator" #define TPM_EMULATOR(obj) \ diff --cc hw/tpm/tpm_passthrough.c index 211df3191c9,2589c4de761..479317ee508 --- a/hw/tpm/tpm_passthrough.c +++ b/hw/tpm/tpm_passthrough.c @@@ -30,16 -30,8 +30,9 @@@ #include "tpm_int.h" #include "hw/hw.h" #include "qapi/clone-visitor.h" +#include "qapi/qapi-visit-tpm.h" #include "tpm_util.h" - - #define DEBUG_TPM 0 - - #define DPRINTF(fmt, ...) do { \ - if (DEBUG_TPM) { \ - fprintf(stderr, fmt, ## __VA_ARGS__); \ - } \ - } while (0) + #include "trace.h" #define TYPE_TPM_PASSTHROUGH "tpm-passthrough" #define TPM_PASSTHROUGH(obj) \