summary refs log tree commit diff stats
path: root/net/net.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2017-08-29 13:27:45 +0100
committerEric Blake <eblake@redhat.com>2017-08-30 13:00:38 -0500
commit02d2d860d25e439f0e88658c701668ab684568fb (patch)
tree8902875b8e278fc5aad1ff57b4356f73b43e6f12 /net/net.c
parent6e592fc92234a58c7156c385840633c17dedd24f (diff)
downloadfocaccia-qemu-02d2d860d25e439f0e88658c701668ab684568fb.tar.gz
focaccia-qemu-02d2d860d25e439f0e88658c701668ab684568fb.zip
qemu-iotests: test NBD over UNIX domain sockets in 083
083 only tests TCP.  Some failures might be specific to UNIX domain
sockets.

A few adjustments are necessary:

1. Generating a port number and waiting for server startup is
   TCP-specific.  Use the new nbd-fault-injector.py startup protocol to
   fetch the address.  This is a little more elegant because we don't
   need netstat anymore.

2. The NBD filter does not work for the UNIX domain sockets URIs we
   generate and must be extended.

3. Run all tests twice: once for TCP and once for UNIX domain sockets.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20170829122745.14309-4-stefanha@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'net/net.c')
0 files changed, 0 insertions, 0 deletions