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 --- Amos Kong (2): qemu-socket: change inet_connect() to to support nonblock socket use inet_listen()/inet_connect() to support ipv6 migration migration-tcp.c | 75 +++++++++++++++---------------------------------------- nbd.c | 2 + qemu-char.c | 2 + qemu-sockets.c | 73 ++++++++++++++++++++++++++++++++++++++++++------------ qemu_socket.h | 4 +-- ui/vnc.c | 2 + 6 files changed, 82 insertions(+), 76 deletions(-) -- Amos Kong -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html