qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Stefan Berger
Subject: Re: [Qemu-devel] [PATCH v2 2/2] tests: add test for TPM TIS device
Date: Fri, 16 Feb 2018 06:45:59 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 02/16/2018 05:18 AM, Marc-André Lureau wrote:
On Thu, Feb 15, 2018 at 3:10 PM, Stefan Berger
<address@hidden> 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 file.

Signed-off-by: Stefan Berger <address@hidden>
---
  MAINTAINERS            |   1 +
  hw/tpm/tpm_tis.c       | 101 ----------
  include/hw/acpi/tpm.h  | 105 +++++++++++
  tests/Makefile.include |   2 +
  tests/tpm-emu.c        |   7 +
  tests/tpm-tis-test.c   | 486 +++++++++++++++++++++++++++++++++++++++++++++++++
  6 files changed, 601 insertions(+), 101 deletions(-)
  create mode 100644 tests/tpm-tis-test.c

diff --git a/MAINTAINERS b/MAINTAINERS
index 57358a0..60a9ae9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1633,6 +1633,7 @@ F: include/hw/acpi/tpm.h
  F: include/sysemu/tpm*
  F: qapi/tpm.json
  F: backends/tpm.c
+F: tests/tpm-*-test
Doesnt' match tests/tpm-emu.c/.h

Make it tests/*tpm* ?

Did that. Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]