Hi Daniel,
On 07/12/2017 01:18 PM, Daniel P. Berrange wrote:
The following changes since commit 3d0bf8dfdfebd7f2ae41b6f220444b8047d6b1ee:
Merge remote-tracking branch
'remotes/dgilbert/tags/pull-migration-20170710a' into staging (2017-07-10
18:13:03 +0100)
are available in the git repository at:
git://github.com/berrange/qemu tags/pull-sockets-2017-07-11-2
for you to fetch changes up to 4b1ac1b3abf0d07cd4d9f9011f12d62bff27154c:
tests: add functional test validating ipv4/ipv6 address flag handling
(2017-07-12 16:49:00 +0100)
----------------------------------------------------------------
Merge sockets 2017/07/11 v2
$ git diff pull-sockets-2017-07-11-1..pull-sockets-2017-07-11-2
As I understand, diff since v1 is:
- restricted sockets-proto tests to x86_64
- run tests using INADDR_LOOPBACK instead of INADDR_ANY
signed PR, else:
Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org>
----------------------------------------------------------------
Daniel P. Berrange (5):
sockets: ensure we can bind to both ipv4 & ipv6 separately
sockets: don't block IPv4 clients when listening on "::"
sockets: ensure we don't accept IPv4 clients when IPv4 is disabled
io: preserve ipv4/ipv6 flags when resolving InetSocketAddress
tests: add functional test validating ipv4/ipv6 address flag handling
io/dns-resolver.c | 6 +-
tests/.gitignore | 1 +
tests/Makefile.include | 3 +
tests/test-sockets-proto.c | 924 +++++++++++++++++++++++++++++++++++++++++++++
util/qemu-sockets.c | 71 +++-
5 files changed, 984 insertions(+), 21 deletions(-)
create mode 100644 tests/test-sockets-proto.c