qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] b1e4b7: test: Move reusable code from tpm-crb


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] b1e4b7: test: Move reusable code from tpm-crb-swtpm-test.c...
Date: Thu, 07 Jun 2018 03:23:58 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: b1e4b7c6b299b8aba1cef9a5ac7221d9eef4e949
      
https://github.com/qemu/qemu/commit/b1e4b7c6b299b8aba1cef9a5ac7221d9eef4e949
  Author: Stefan Berger <address@hidden>
  Date:   2018-06-06 (Wed, 06 Jun 2018)

  Changed paths:
    M tests/tpm-crb-swtpm-test.c
    M tests/tpm-util.c
    M tests/tpm-util.h

  Log Message:
  -----------
  test: Move reusable code from tpm-crb-swtpm-test.c to tpm-util.c

Move code we can reuse from tpm-crb-swtpm-test.c into tpm-util.c
and prefix functions with 'tpm_util_'.

Remove some unnecessary #include's.

Signed-off-by: Stefan Berger <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>


  Commit: 2b4ccb87ec498184de50068f840eec7426d5da2a
      
https://github.com/qemu/qemu/commit/2b4ccb87ec498184de50068f840eec7426d5da2a
  Author: Stefan Berger <address@hidden>
  Date:   2018-06-06 (Wed, 06 Jun 2018)

  Changed paths:
    M tests/Makefile.include
    M tests/tpm-crb-swtpm-test.c
    A tests/tpm-tests.c
    A tests/tpm-tests.h

  Log Message:
  -----------
  test: Move common TPM test functions to tpm-tests.c

Move common TPM test functions from tpm-crb-swtpm-test.c to tpm-tests.c
so that for example test cases with the TPM TIS interface can use the
same code. Prefix all funcions with 'tpm_test_'.

Signed-off-by: Stefan Berger <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>


  Commit: ea71a3369164685d4daeeeac9dfe85a64eeeb877
      
https://github.com/qemu/qemu/commit/ea71a3369164685d4daeeeac9dfe85a64eeeb877
  Author: Stefan Berger <address@hidden>
  Date:   2018-06-06 (Wed, 06 Jun 2018)

  Changed paths:
    M tests/tpm-crb-swtpm-test.c
    M tests/tpm-tests.c
    M tests/tpm-tests.h
    M tests/tpm-util.c
    M tests/tpm-util.h

  Log Message:
  -----------
  test: Pass TPM interface model to functions creating command line

Pass the TPM interface model, such as 'tpm-crb', through to the functions
that create the command line for QEMU.

Signed-off-by: Stefan Berger <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>


  Commit: 70663851ed4242435676c0bc288efbc1bc4ccf87
      
https://github.com/qemu/qemu/commit/70663851ed4242435676c0bc288efbc1bc4ccf87
  Author: Stefan Berger <address@hidden>
  Date:   2018-06-06 (Wed, 06 Jun 2018)

  Changed paths:
    M tests/Makefile.include
    A tests/tpm-tis-swtpm-test.c
    M tests/tpm-util.c
    M tests/tpm-util.h

  Log Message:
  -----------
  test: Add swtpm migration test for the TPM TIS interface

Add a test case for testing swtpm migration with the TPM TIS
interface.

Signed-off-by: Stefan Berger <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>


  Commit: 8e36d27c5a7b99a7adb40cfda2f92b1d97216e84
      
https://github.com/qemu/qemu/commit/8e36d27c5a7b99a7adb40cfda2f92b1d97216e84
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-07 (Thu, 07 Jun 2018)

  Changed paths:
    M tests/Makefile.include
    M tests/tpm-crb-swtpm-test.c
    A tests/tpm-tests.c
    A tests/tpm-tests.h
    A tests/tpm-tis-swtpm-test.c
    M tests/tpm-util.c
    M tests/tpm-util.h

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/stefanberger/tags/pull-tpm-2018-06-06-1' into staging

Merge tpm 2018/06/06 v1

# gpg: Signature made Wed 06 Jun 2018 20:48:33 BST
# gpg:                using RSA key 75AD65802A0B4211
# gpg: Good signature from "Stefan Berger <address@hidden>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: B818 B9CA DF90 89C2 D5CE  C66B 75AD 6580 2A0B 4211

* remotes/stefanberger/tags/pull-tpm-2018-06-06-1:
  test: Add swtpm migration test for the TPM TIS interface
  test: Pass TPM interface model to functions creating command line
  test: Move common TPM test functions to tpm-tests.c
  test: Move reusable code from tpm-crb-swtpm-test.c to tpm-util.c

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/5d328d7d2f1f...8e36d27c5a7b
      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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