[Qemu-devel] [PATCH] tests: fix tpm-crb tpm-tis tests race

2018-05-31 Thread Stefan Berger
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

Re: [Qemu-devel] [PATCH] tests: fix tpm-crb tpm-tis tests race

2018-05-18 Thread Alex Bennée
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

Re: [Qemu-devel] [PATCH] tests: fix tpm-crb tpm-tis tests race

2018-05-08 Thread Daniel P . Berrangé
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 >

[Qemu-devel] [PATCH] tests: fix tpm-crb tpm-tis tests race

2018-05-08 Thread Stefan Berger
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-

Re: [Qemu-devel] [PATCH] tests: fix tpm-crb tpm-tis tests race

2018-03-16 Thread Stefan Berger
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

Re: [Qemu-devel] [PATCH] tests: fix tpm-crb tpm-tis tests race

2018-03-16 Thread Daniel P . Berrangé
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

Re: [Qemu-devel] [PATCH] tests: fix tpm-crb tpm-tis tests race

2018-03-16 Thread Marc-André Lureau
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

Re: [Qemu-devel] [PATCH] tests: fix tpm-crb tpm-tis tests race

2018-03-16 Thread Daniel P . Berrangé
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é

[Qemu-devel] [PATCH] tests: fix tpm-crb tpm-tis tests race

2018-03-16 Thread 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 --- tests/tpm-emu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion