Please apply the following commit to QEMU 2.12:
commit 7647d5c6b5e3b3f36a6e0441c81ae3fe797eb233
Author: Marc-André Lureau
Date: Tue May 8 11:29:35 2018 -0400
tests: fix tpm-crb tpm-tis tests race
No need to close the TPM data socket on the emulator end, qemu will
close it after
Marc-André Lureau writes:
> No need to close the TPM data socket on the emulator end, qemu will
> close it after a SHUTDOWN. This avoids a race between close() and
> read() in the TPM data thread.
>
> Reported-by: Peter Maydell
> Signed-off-by: Marc-André Lureau
Reviewed-by: Alex Bennée
Test
On Tue, May 08, 2018 at 11:29:35AM -0400, Stefan Berger wrote:
> From: Marc-André Lureau
>
> No need to close the TPM data socket on the emulator end, qemu will
> close it after a SHUTDOWN. This avoids a race between close() and
> read() in the TPM data thread.
>
> Reported-by: Peter Maydell
>
From: Marc-André Lureau
No need to close the TPM data socket on the emulator end, qemu will
close it after a SHUTDOWN. This avoids a race between close() and
read() in the TPM data thread.
Reported-by: Peter Maydell
Signed-off-by: Marc-André Lureau
Signed-off-by: Stefan Berger
---
tests/tpm-
On 03/16/2018 10:30 AM, Daniel P. Berrangé wrote:
On Fri, Mar 16, 2018 at 03:29:04PM +0100, Marc-André Lureau wrote:
Hi
On Fri, Mar 16, 2018 at 3:25 PM, Daniel P. Berrangé wrote:
On Fri, Mar 16, 2018 at 03:22:23PM +0100, Marc-André Lureau wrote:
No need to close the TPM data socket on the em
On Fri, Mar 16, 2018 at 03:29:04PM +0100, Marc-André Lureau wrote:
> Hi
>
> On Fri, Mar 16, 2018 at 3:25 PM, Daniel P. Berrangé
> wrote:
> > On Fri, Mar 16, 2018 at 03:22:23PM +0100, Marc-André Lureau wrote:
> >> No need to close the TPM data socket on the emulator end, qemu will
> >> close it a
Hi
On Fri, Mar 16, 2018 at 3:25 PM, Daniel P. Berrangé wrote:
> On Fri, Mar 16, 2018 at 03:22:23PM +0100, Marc-André Lureau wrote:
>> No need to close the TPM data socket on the emulator end, qemu will
>> close it after a SHUTDOWN. This avoids a race between close() and
>> read() in the TPM data
On Fri, Mar 16, 2018 at 03:22:23PM +0100, Marc-André Lureau wrote:
> No need to close the TPM data socket on the emulator end, qemu will
> close it after a SHUTDOWN. This avoids a race between close() and
> read() in the TPM data thread.
>
> Reported-by: Peter Maydell
> Signed-off-by: Marc-André
No need to close the TPM data socket on the emulator end, qemu will
close it after a SHUTDOWN. This avoids a race between close() and
read() in the TPM data thread.
Reported-by: Peter Maydell
Signed-off-by: Marc-André Lureau
---
tests/tpm-emu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion