qemu-patch-raspberry4/include
zhanghailiang c937b9a6db COLO: Shutdown related socket fd while do failover
If the net connection between primary host and secondary host breaks
while COLO/COLO incoming threads are doing read() or write().
It will block until connection is timeout, and the failover process
will be blocked because of it.

So it is necessary to shutdown all the socket fds used by COLO
to avoid this situation. Besides, we should close the corresponding
file descriptors after failvoer BH shutdown them,
Or there will be an error.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <1484657864-21708-3-git-send-email-zhang.zhanghailiang@huawei.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2017-02-13 17:27:13 +00:00
..
block block: Fix target variable of BLKSECTGET ioctl 2017-01-27 18:07:31 +01:00
crypto crypto: add CTR mode support 2016-10-19 10:09:24 +01:00
disas Fix Thumb-1 BE32 execution and disassembly. 2017-02-07 18:29:59 +00:00
exec trace: switch to modular code generation for sub-directories 2017-01-31 17:11:18 +00:00
fpu target-ppc: Add xscvdphp, xscvhpdp 2017-01-31 10:10:14 +11:00
hw hw/misc: New "unimplemented" sysbus device 2017-02-07 18:55:15 +00:00
io io: introduce a DNS resolver API 2017-01-23 15:32:46 +00:00
libdecnumber Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
migration COLO: Shutdown related socket fd while do failover 2017-02-13 17:27:13 +00:00
monitor char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
net vhost-net: Notify the backend about the host MTU 2017-01-10 07:02:53 +02:00
qapi include: Fix typos found by codespell 2017-01-24 23:26:52 +03:00
qemu util: add iterators for QemuOpts values 2017-02-09 17:28:49 +01:00
qom arm: Correctly handle watchpoints for BE32 CPUs 2017-02-07 18:29:59 +00:00
standard-headers virtio_crypto: header update 2017-01-18 22:59:53 +02:00
sysemu char: headers clean-up 2017-01-31 23:31:22 +04:00
ui chardev: qom-ify 2017-01-27 18:08:00 +01:00
elf.h nios2: Add usermode binaries emulation 2017-01-24 13:10:35 -08:00
glib-compat.h win32: use glib gpoll if glib >= 2.50 2017-01-24 23:26:53 +03:00
qemu-common.h tcg: Add EXCP_ATOMIC 2016-10-26 08:29:00 -07:00
qemu-io.h qemu-io: Use BlockBackend 2015-02-16 15:07:19 +00:00
trace-tcg.h trace: get rid of generated-events.h/generated-events.c 2016-10-12 09:54:52 +02:00