diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2017-08-29 13:27:44 +0100 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2017-08-30 13:00:37 -0500 |
commit | 6e592fc92234a58c7156c385840633c17dedd24f (patch) | |
tree | 8607bdac5d5cd3ff46b465e74af74eb39052c257 /Makefile.objs | |
parent | 3c2d5183f9fa4eac3d17d841e26da65a0181ae7b (diff) |
qemu-iotests: improve nbd-fault-injector.py startup protocol
Currently 083 waits for the nbd-fault-injector.py server to start up by
looping until netstat shows the TCP listen socket.
The startup protocol can be simplified by passing a 0 port number to
nbd-fault-injector.py. The kernel will allocate a port in bind(2) and
the final port number can be printed by nbd-fault-injector.py.
This should make it slightly nicer and less TCP-specific to wait for
server startup. This patch changes nbd-fault-injector.py, the next one
will rewrite server startup in 083.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20170829122745.14309-3-stefanha@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'Makefile.objs')
0 files changed, 0 insertions, 0 deletions