diff options
author | 2015-09-01 14:46:50 +0100 | |
---|---|---|
committer | 2015-10-20 14:21:45 +0100 | |
commit | 0983f5e6af76d5df8c6346cbdfff9d8305fb6da0 (patch) | |
tree | 622d1e1beb3f0bb934742a6bd04e4096cfa07cb3 /util/qemu-coroutine.c | |
parent | sockets: move qapi_copy_SocketAddress into qemu-sockets.c (diff) | |
download | qemu-0983f5e6af76d5df8c6346cbdfff9d8305fb6da0.tar.xz qemu-0983f5e6af76d5df8c6346cbdfff9d8305fb6da0.zip |
sockets: allow port to be NULL when listening on IP address
If the port in the SocketAddress struct is NULL, it can allow
the kernel to automatically select a free port. This is useful
in particular in unit tests to avoid a race trying to find a
free port to run a test case on.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'util/qemu-coroutine.c')
0 files changed, 0 insertions, 0 deletions