Re: [Qemu-devel] [PATCH] tests: add test for TPM TIS device

2018-02-15 Thread Stefan Berger
On 02/15/2018 07:35 AM, Marc-André Lureau wrote: +#define DPRINTF_STS \ >+DPRINTF("%s: %d: sts = 0x%08x\n", __func__, __LINE__, sts) >+ >+typedef struct TestState { >+CompatGMutex data_mutex; >+CompatGCond data_cond; >+SocketAddress *addr; >+QIOChannel *tpm_ioc; >+GThread

Re: [Qemu-devel] [PATCH] tests: add test for TPM TIS device

2018-02-15 Thread Marc-André Lureau
Hi On Thu, Feb 15, 2018 at 2:21 AM, Stefan Berger wrote: > Move the TPM TIS related register and flag #defines into > include/hw/acpi/tpm.h for access by the test case. > > Write a test case that covers the TIS functionality. > > Add the tests cases to the MAINTAINERS

[Qemu-devel] [PATCH] tests: add test for TPM TIS device

2018-02-14 Thread Stefan Berger
Move the TPM TIS related register and flag #defines into include/hw/acpi/tpm.h for access by the test case. Write a test case that covers the TIS functionality. Add the tests cases to the MAINTAINERS file. Signed-off-by: Stefan Berger --- MAINTAINERS|