[Qemu-devel] [PATCH v2] migration: Fix colo hang in socket_accept_incoming_migration

2017-03-26 Thread Guang Wang
From: Wang guang The channel socket was initialized manually, but forgot to set QIO_CHANNEL_FEATURE_SHUTDOWN. Thus, the colo_process_incoming_thread would hang at recvmsg. This patch just call qio_channel_socket_new to get channel, Which set QIO_CHANNEL_FEATURE_SHUTDOWN already. Signed-off-by:

[Qemu-devel] [PATCH v2] migration: Fix colo hang in socket_accept_incoming_migration

2017-03-23 Thread Guang Wang
From: Wang guang The channel socket was initialized manually, but forgot to set QIO_CHANNEL_FEATURE_SHUTDOWN. Thus, the colo_process_incoming_thread would hang at recvmsg. This patch just call qio_channel_socket_new to get channel, Which set QIO_CHANNEL_FEATURE_SHUTDOWN already. Signed-off-by:

[Qemu-devel] [PATCH RESEND] migration: Fix colo hang in socket_accept_incoming_migration

2017-03-22 Thread Guang Wang
From: Wang guang Due to the feature of accept channel does not support QIO_CHANNEL_FEATURE_SHUTDOWN. when failover,channel_shutdown could not shut down the channel. So the colo_process_incoming_thread will hang at recvmsg. This patch just call qio_channel_socket_new to get channel, Which set QIO