qemu-e2k/include/migration
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.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
colo.h COLO: fix setting checkpoint-delay not working properly 2017-02-13 17:27:13 +00:00
cpu.h migration: Add VMSTATE_UINTTL_TEST() 2016-11-23 12:00:48 +11:00
failover.h COLO: Implement the process of failover for primary VM 2016-10-30 15:17:39 +05:30
migration.h COLO: Shutdown related socket fd while do failover 2017-02-13 17:27:13 +00:00
page_cache.h xbzrle: optimize XBZRLE to decrease the cache misses 2015-01-15 17:49:43 +05:30
postcopy-ram.h Postcopy: Mark nohugepage before discard 2015-11-10 15:00:28 +01:00
qemu-file.h add 'release-ram' migrate capability 2017-02-13 17:27:13 +00:00
qjson.h migration/qjson: Drop gratuitous use of QOM 2016-05-23 14:16:12 +05:30
vmstate.h migration: consolidate VMStateField.start 2017-02-13 17:27:13 +00:00