summaryrefslogtreecommitdiff
path: root/tests/tpm-emu.c
AgeCommit message (Collapse)AuthorFilesLines
2018-02-21tests: add test for TPM TIS deviceStefan Berger1-0/+7
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 <stefanb@linux.vnet.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2018-02-21tests: Move common TPM test code into tpm-emu.cStefan Berger1-0/+167
Move threads and other common TPM test code into tpm-emu.c. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>