Commit c37cacabf2285b0731b44c1f667781fdd4f2b658 broke compilation without tpm. Just add an empty tpm_cleanup() stub.
CC: Amarnath Valluri <amarnath.vall...@intel.com> Signed-off-by: Juan Quintela <quint...@redhat.com> --- tpm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tpm.c b/tpm.c index 3122227156..9396bb669c 100644 --- a/tpm.c +++ b/tpm.c @@ -194,6 +194,12 @@ int tpm_config_parse(QemuOptsList *opts_list, const char *optarg) return 0; } +#else + +void tpm_cleanup(void) +{ +} + #endif /* CONFIG_TPM */ static const TPMDriverOps *tpm_driver_find_by_type(enum TpmType type) -- 2.13.6