Re: [Qemu-devel] [PATCH v1 5/6] scripts: ensure monitor socket has SO_REUSEADDR set

2016-05-23 Thread Amit Shah
On (Thu) 05 May 2016 [15:27:59], Daniel P. Berrange wrote: > If tests use a TCP based monitor socket, the connection will > go into a TIMED_WAIT state when the test exits. This will > randomly prevent the test from being re-run without a certain > time period. Set the SO_REUSEADDR flag on the socke

[Qemu-devel] [PATCH v1 5/6] scripts: ensure monitor socket has SO_REUSEADDR set

2016-05-05 Thread Daniel P. Berrange
If tests use a TCP based monitor socket, the connection will go into a TIMED_WAIT state when the test exits. This will randomly prevent the test from being re-run without a certain time period. Set the SO_REUSEADDR flag on the socket to ensure we can immediately re-run the tests --- scripts/qmp/qm