Re: [Qemu-devel] [PATCH] tpm: Prevent a call to TPM if no TPM support is requested

2015-06-03 Thread Juan Quintela
Stefan Berger wrote: > Prevent the function tpm_tis_get_tpm_version() from being called > if not TPM support is requested. > > Signed-off-by: Stefan Berger > --- > include/sysemu/tpm.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/sysemu/tpm.h b/include/sysemu/tpm.h > index

[Qemu-devel] [PATCH] tpm: Prevent a call to TPM if no TPM support is requested

2015-06-02 Thread Stefan Berger
Prevent the function tpm_tis_get_tpm_version() from being called if not TPM support is requested. Signed-off-by: Stefan Berger --- include/sysemu/tpm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sysemu/tpm.h b/include/sysemu/tpm.h index c143890..c8afa17 100644 --- a/include/sy