Hi
- Original Message -
> On 10/10/2017 04:21 PM, Eduardo Habkost wrote:
> > On Tue, Oct 10, 2017 at 12:56:18AM +0200, Marc-André Lureau wrote:
> > [...]
> >> -static inline TPMVersion tpm_get_version(void)
> >> +static inline TPMIf *tpm_find(void)
> >> {
> >> -#ifdef CONFIG_TPM
> >> -
On 10/10/2017 04:21 PM, Eduardo Habkost wrote:
On Tue, Oct 10, 2017 at 12:56:18AM +0200, Marc-André Lureau wrote:
[...]
-static inline TPMVersion tpm_get_version(void)
+static inline TPMIf *tpm_find(void)
{
-#ifdef CONFIG_TPM
-Object *obj = object_resolve_path_type("", TYPE_TPM_TIS, NULL);
On 10/09/2017 06:56 PM, Marc-André Lureau wrote:
This will allow to introduce new devices implementing TPM.
Signed-off-by: Marc-André Lureau
---
hw/tpm/tpm_int.h | 19 ---
include/sysemu/tpm.h | 52 ++--
hw/i386/acpi-build.
On Tue, Oct 10, 2017 at 12:56:18AM +0200, Marc-André Lureau wrote:
[...]
> -static inline TPMVersion tpm_get_version(void)
> +static inline TPMIf *tpm_find(void)
> {
> -#ifdef CONFIG_TPM
> -Object *obj = object_resolve_path_type("", TYPE_TPM_TIS, NULL);
> +Object *obj = object_resolve_path
This will allow to introduce new devices implementing TPM.
Signed-off-by: Marc-André Lureau
---
hw/tpm/tpm_int.h | 19 ---
include/sysemu/tpm.h | 52 ++--
hw/i386/acpi-build.c | 2 +-
3 files changed, 39 insertions(+), 34 delet