[PATCH v5 0/2] support to migrate with IPv6 address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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
--
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


[KVM ARM]     [KVM ia64]     [KVM ppc]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux