* [Qemu-devel] [PATCH] TPM: fix build with tpm disabled
@ 2015-06-02 13:47 Juan Quintela
2015-06-03 10:30 ` Stefan Berger
0 siblings, 1 reply; 2+ messages in thread
From: Juan Quintela @ 2015-06-02 13:47 UTC (permalink / raw)
To: qemu-devel; +Cc: mst
Failure was included on commit
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
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/sysemu/tpm.h
+++ b/include/sysemu/tpm.h
@@ -32,11 +32,13 @@ TPMVersion tpm_tis_get_tpm_version(Object *obj);
static inline TPMVersion tpm_get_version(void)
{
+#ifdef CONFIG_TPM
Object *obj = object_resolve_path_type("", TYPE_TPM_TIS, NULL);
if (obj) {
return tpm_tis_get_tpm_version(obj);
}
+#endif
return TPM_VERSION_UNSPEC;
}
--
2.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] TPM: fix build with tpm disabled
2015-06-02 13:47 [Qemu-devel] [PATCH] TPM: fix build with tpm disabled Juan Quintela
@ 2015-06-03 10:30 ` Stefan Berger
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Berger @ 2015-06-03 10:30 UTC (permalink / raw)
To: Juan Quintela, qemu-devel; +Cc: mst
On 06/02/2015 09:47 AM, Juan Quintela wrote:
> Failure was included on commit
>
> Signed-off-by: Juan Quintela <quintela@redhat.com>
Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-03 10:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-02 13:47 [Qemu-devel] [PATCH] TPM: fix build with tpm disabled Juan Quintela
2015-06-03 10:30 ` Stefan Berger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.