Merge tpm 2018/11/15 v1
The 2 patches in this series fix some minor issues.
Stefan
The following changes since commit cb968d275c145467c8b385a3618a207ec111eab1:
Update version for v3.1.0-rc1 release (2018-11-13 18:16:14 +0000)
are available in the Git repository at:
git://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2018-11-15-1
for you to fetch changes up to 5e58b58c478bd00c807bd7814ccab148d49cc901:
tests: tpm: Use g_test_message rather than fprintf (2018-11-14 16:12:24 -0500)
----------------------------------------------------------------
Prasad J Pandit (1):
tpm: use loop iterator to set sts data field
Stefan Berger (1):
tests: tpm: Use g_test_message rather than fprintf
hw/tpm/tpm_tis.c | 2 +- tests/tpm-tests.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
2.17.1
[Qemu-devel] [PULL v1 1/2] tpm: use loop iterator to set sts data field
From: Prasad J Pandit <[email protected]>
When TIS request is done, set 'sts' data field across all localities.
--- hw/tpm/tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/tpm/tpm_tis.c +1 -1
@@ -295,7 +295,7 @@ static void tpm_tis_request_completed(TPMIf *ti, int ret)if (s->cmd.selftest_done) {for (l =0 ; l <TPM_TIS_NUM_LOCALITIES ; l++) { - s->loc[locty].sts |=TPM_TIS_STS_SELFTEST_DONE ; + s->loc[l].sts |=TPM_TIS_STS_SELFTEST_DONE ; } }
Signature · 1 line
2.17.1
[Qemu-devel] [PULL v1 2/2] tests: tpm: Use g_test_message rather than fprintf
In reply to Stefan BergerDisplay a message during the test using g_test_message rather than fprintf.
--- tests/tpm-tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/tpm-tests.c +1 -1
@@ -22,7 +22,7 @@ static booltpm_test_swtpm_skip (void) {if (!tpm_util_swtpm_has_tpm2 ()) { -fprintf (stderr,"swtpm not in PATH or missing --tpm2 support; " ); +g_test_message ("swtpm not in PATH or missing --tpm2 support" );return true; }
Signature · 1 line
2.17.1
Peter Maydell
AppliedQuoted 14 lines · Stefan Berger
The 2 patches in this series fix some minor issues.
Stefan
The following changes since commit
cb968d275c145467c8b385a3618a207ec111eab1:Update version for v3.1.0-rc1 release (2018-11-13 18:16:14 +0000)
are available in the Git repository at:
git://github.com/stefanberger/qemu-tpm.gittags/pull-tpm-2018-11-15-1for you to fetch changes up to
5e58b58c478bd00c807bd7814ccab148d49cc901:
Quoted 8 lines
tests: tpm: Use
g_test_messagerather than fprintf (2018-11-14 16:12:24 -0500)----------------------------------------------------------------
Prasad J Pandit (1):
tpm: use loop iterator to set sts data fieldStefan Berger (1):
tests: tpm: Useg_test_messagerather than fprintf
Applied, thanks.
-- PMM