[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 2271b7: tests: Fix signalling race condition
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 2271b7: tests: Fix signalling race condition in TPM tests |
Date: |
Mon, 24 Sep 2018 10:47:36 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 2271b75fa9019a9ba10d38ea2cf53a2032b1d8fd
https://github.com/qemu/qemu/commit/2271b75fa9019a9ba10d38ea2cf53a2032b1d8fd
Author: Stefan Berger <address@hidden>
Date: 2018-09-07 (Fri, 07 Sep 2018)
Changed paths:
M tests/tpm-crb-test.c
M tests/tpm-emu.c
M tests/tpm-emu.h
M tests/tpm-tis-test.c
Log Message:
-----------
tests: Fix signalling race condition in TPM tests
This patch fixes a race condition and test failure where the main process
waits for the signal of a thread but the thread already sent that signal
via a condition. Since these signals are non-sticky, we need to introduce a
separate variable to make this signal sticky.
Signed-off-by: Stefan Berger <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Commit: 741e1a618b126e664f7b723e6fe1b7ace511caf7
https://github.com/qemu/qemu/commit/741e1a618b126e664f7b723e6fe1b7ace511caf7
Author: Peter Maydell <address@hidden>
Date: 2018-09-24 (Mon, 24 Sep 2018)
Changed paths:
M tests/tpm-crb-test.c
M tests/tpm-emu.c
M tests/tpm-emu.h
M tests/tpm-tis-test.c
Log Message:
-----------
Merge remote-tracking branch
'remotes/stefanberger/tags/pull-tpm-2018-09-07-1' into staging
Merge tpm 2018/09/07 v1
# gpg: Signature made Fri 07 Sep 2018 21:38:06 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-09-07-1:
tests: Fix signalling race condition in TPM tests
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/9c36281bc590...741e1a618b12
**NOTE:** This service has 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 2271b7: tests: Fix signalling race condition in TPM tests,
GitHub <=