Skip to content

tpm: add stubs to fix compiling with --disable-tpm

Philippe Mathieu-Daudé qemu-devel qemu-trivial 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 11 repliesIn review
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- added Richard W.M. Jones Tested-by tag
- remove #ifdef CONFIG_TPM in tpm.c (Stefan Berger)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tpm: add missing includeinclude/sysemu/tpm.h+1 -00 replies
2/4tpm: add stubsMAINTAINERS Makefile.objs stubs/Makefile.objs +1 more+36 -12 replies
3/4tpm: remove unnecessary #ifdef CONFIG_TPMtpm.c+0 -43 replies
4/4vl: remove unnecessary #ifdef CONFIG_TPMvl.c+0 -22 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchRichard W.M. JonesStefan BergerJuan QuintelaAmarnath Valluri
1/4T-b
2/4T-b R-b R-b
3/4R-b R-b R-b
4/4T-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] tpm: add stubs to fix compiling with --disable-tpm

This fixes building with --disable-tpm as reported by Zoltan:
http://lists.nongnu.org/archive/html/qemu-devel/2017-10/msg05369.html

Cc'ing Peter in case this enters as a build fix instead of via trivial.

v2:
- added Richard W.M. Jones Tested-by tag
- remove #ifdef CONFIG_TPM in tpm.c (Stefan Berger)

Regards,

Phil.

PD: I missed Amarnath Valluri in my first series, you might want to add yourself
a R: tag in MAINTAINTERS.

Philippe Mathieu-Daudé (4):
tpm: add missing include
tpm: add stubs
tpm: remove unnecessary #ifdef CONFIG_TPM
vl: remove unnecessary #ifdef CONFIG_TPM

 Makefile.objs        |  2 +-
 include/sysemu/tpm.h |  1 +
 stubs/tpm.c          | 33 +++++++++++++++++++++++++++++++++
 tpm.c                |  4 ----
 vl.c                 |  2 --
 MAINTAINERS          |  1 +
 stubs/Makefile.objs  |  1 +
 7 files changed, 37 insertions(+), 7 deletions(-)
 create mode 100644 stubs/tpm.c
Signature · 1 line
2.15.0.rc1