From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evTp1-0004Fr-SL for qemu-devel@nongnu.org; Mon, 12 Mar 2018 16:13:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evTp0-00077d-I5 for qemu-devel@nongnu.org; Mon, 12 Mar 2018 16:13:27 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:34012 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1evTp0-000770-D8 for qemu-devel@nongnu.org; Mon, 12 Mar 2018 16:13:26 -0400 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Mon, 12 Mar 2018 20:12:56 +0000 Message-Id: <20180312201305.16972-1-berrange@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 0/9] Socket next patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Gerd Hoffmann , Markus Armbruster , Eric Blake , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini , Peter Maydell The following changes since commit 819fd4699c7b36d574292bcbd8bc25e9d716c8= 4b: Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-2018= 0309a' into staging (2018-03-12 13:21:53 +0000) are available in the Git repository at: https://github.com/berrange/qemu tags/socket-next-pull-request for you to fetch changes up to f4d2a296de2ccf5ff80ddd343c09f0075d10583a: char: allow passing pre-opened socket file descriptor at startup (2018-= 03-12 17:50:52 +0000) ---------------------------------------------------------------- ---------------------------------------------------------------- Daniel P. Berrang=C3=A9 (9): char: don't silently skip tn3270 protocol init when TLS is enabled cutils: add qemu_strtoi & qemu_strtoui parsers for int/unsigned int types sockets: pull code for testing IP availability out of specific test sockets: strengthen test suite IP protocol availability checks sockets: move fd_is_socket() into common sockets code sockets: check that the named file descriptor is a socket sockets: allow SocketAddress 'fd' to reference numeric file descriptors char: refactor parsing of socket address information char: allow passing pre-opened socket file descriptor at startup chardev/char-socket.c | 34 ++- chardev/char.c | 3 + include/qemu/cutils.h | 4 + include/qemu/sockets.h | 1 + io/channel-util.c | 13 - qapi/sockets.json | 7 + tests/.gitignore | 1 + tests/Makefile.include | 5 +- tests/socket-helpers.c | 149 ++++++++++ tests/socket-helpers.h | 42 +++ tests/test-char.c | 47 ++- tests/test-cutils.c | 657 +++++++++++++++++++++++++++++++++++= ++++++ tests/test-io-channel-socket.c | 72 +---- tests/test-util-sockets.c | 266 +++++++++++++++++ util/cutils.c | 108 +++++++ util/qemu-sockets.c | 36 ++- 16 files changed, 1347 insertions(+), 98 deletions(-) create mode 100644 tests/socket-helpers.c create mode 100644 tests/socket-helpers.h create mode 100644 tests/test-util-sockets.c --=20 2.14.3