From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAZ4j-00013u-6r for qemu-devel@nongnu.org; Wed, 21 Mar 2012 23:52:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAZ4h-0002yt-FE for qemu-devel@nongnu.org; Wed, 21 Mar 2012 23:52:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAZ4h-0002yh-7M for qemu-devel@nongnu.org; Wed, 21 Mar 2012 23:52:31 -0400 From: Amos Kong Date: Thu, 22 Mar 2012 11:52:26 +0800 Message-ID: <20120322035052.2431.4994.stgit@dhcp-8-167.nay.redhat.com> In-Reply-To: <20120321234648.GG18965@illuin> References: <20120321234648.GG18965@illuin> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH v5 0/2] 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, mdroth@linux.vnet.ibm.com, owasserm@redhat.com, laine@redhat.com Those patches make tcp migration use the help functions in qemu-socket.c for support IPv6 migration. Changes from v1: - split different changes to small patches, it will be easier to review - fixed some problem according to Kevin's comment Changes from v2: - fix issue of returning real error - set s->fd to -1 when parse fails, won't call migrate_fd_error() Changes from v3: - try to use help functions in qemu-socket.c Changes from v4: - introduce set_socket_error() to restore real errno - fix connect error process --- Amos Kong (4): sockets: introduce set_socket_error() qemu-socket: change inet_connect() to to support nonblock socket sockets: pass back errors in inet_listen() use inet_listen()/inet_connect() to support ipv6 migration migration-tcp.c | 74 +++++++++++++---------------------------------- nbd.c | 2 + qemu-sockets.c | 87 ++++++++++++++++++++++++++++++++++++++++++------------- qemu_socket.h | 4 ++- ui/vnc.c | 2 + 5 files changed, 92 insertions(+), 77 deletions(-) -- Amos Kong