qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: marcandre.lureau@redhat.com, Stefan Berger <stefanb@linux.vnet.ibm.com>
Subject: [Qemu-devel] [PATCH 0/4] Refactor code and implement another TPM TIS test
Date: Wed, 30 May 2018 15:35:44 -0400	[thread overview]
Message-ID: <20180530193548.3846786-1-stefanb@linux.vnet.ibm.com> (raw)

This series of patches refactors the tpm-crb-swtpm-test.c in the
first two patches and moves functions into tpm-util.c and tpm-tests.c
for reuse. Patch 3 passes "tpm-crb" to the functions that create the
QEMU command line. Patch 4 is more or less a copy of tpm-crb-swtpm-test.c
adapted for the TIS interface.

   Stefan

Stefan Berger (4):
  test: Move reusable code from tpm-crb-swtpm-test.c to tpm-util.c
  test: Move common TPM test functions to tpm-tests.c
  test: Pass TPM interface model to functions creating command line
  test: Add swtpm migration test for the TPM TIS interface

 tests/Makefile.include     |   5 +-
 tests/tpm-crb-swtpm-test.c | 189 +--------------------------------------------
 tests/tpm-tests.c          | 127 ++++++++++++++++++++++++++++++
 tests/tpm-tests.h          |  26 +++++++
 tests/tpm-tis-swtpm-test.c |  66 ++++++++++++++++
 tests/tpm-util.c           | 138 +++++++++++++++++++++++++++++++++
 tests/tpm-util.h           |  14 ++++
 7 files changed, 379 insertions(+), 186 deletions(-)
 create mode 100644 tests/tpm-tests.c
 create mode 100644 tests/tpm-tests.h
 create mode 100644 tests/tpm-tis-swtpm-test.c

-- 
2.14.3

             reply	other threads:[~2018-05-30 19:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-30 19:35 Stefan Berger [this message]
2018-05-30 19:35 ` [Qemu-devel] [PATCH 1/4] test: Move reusable code from tpm-crb-swtpm-test.c to tpm-util.c Stefan Berger
2018-05-31 10:53   ` Marc-André Lureau
2018-05-30 19:35 ` [Qemu-devel] [PATCH 2/4] test: Move common TPM test functions to tpm-tests.c Stefan Berger
2018-05-31 10:53   ` Marc-André Lureau
2018-05-30 19:35 ` [Qemu-devel] [PATCH 3/4] test: Pass TPM interface model to functions creating command line Stefan Berger
2018-05-31 10:54   ` Marc-André Lureau
2018-05-30 19:35 ` [Qemu-devel] [PATCH 4/4] test: Add swtpm migration test for the TPM TIS interface Stefan Berger
2018-05-31 10:56   ` Marc-André Lureau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180530193548.3846786-1-stefanb@linux.vnet.ibm.com \
    --to=stefanb@linux.vnet.ibm.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).