From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4UlF-0006cB-R0 for qemu-devel@nongnu.org; Mon, 05 Mar 2012 05:03:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4UlA-0007Rv-SY for qemu-devel@nongnu.org; Mon, 05 Mar 2012 05:03:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4UlA-0007Re-KT for qemu-devel@nongnu.org; Mon, 05 Mar 2012 05:03:16 -0500 From: Amos Kong Date: Mon, 05 Mar 2012 18:03:11 +0800 Message-ID: <20120305095934.3595.88531.stgit@dhcp-8-167.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH v2 0/9] support to migrate with IPv6 address List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@us.ibm.com, kvm@vger.kernel.org, quintela@redhat.com, jasowang@redhat.com, qemu-devel@nongnu.org, laine@redhat.com Those patches make migration of IPv6 address work, old code only support to parse IPv4 address/port, use getaddrinfo() to get socket addresses infomation. Last two patches are about spliting IPv6 host/port. Changes from v1: - split different changes to small patches, it will be easier to review - fixed some problem according to Kevin's comment --- Amos Kong (9): net: introduce tcp_server_start() net: use tcp_server_start() for tcp server creation net: introduce tcp_client_start() net: use tcp_client_start for tcp client creation net: refector tcp_*_start functions net: use getaddrinfo() in tcp_start_common net: introduce parse_host_port_info() net: split hostname and service by last colon net: support to include ipv6 address by brackets migration-tcp.c | 62 +++++++------------------ net.c | 137 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ net/socket.c | 64 ++++++-------------------- qemu_socket.h | 3 + 4 files changed, 171 insertions(+), 95 deletions(-) -- Amos Kong