OSDN Git Service

migration_cancel: shutdown migration socket
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 8 Jan 2015 11:11:32 +0000 (11:11 +0000)
committerAmit Shah <amit.shah@redhat.com>
Fri, 16 Jan 2015 07:36:17 +0000 (13:06 +0530)
commita26ba26e214911dc879a23e797d2c269cdb38577
treef3c6e46ac8d221e53554cc5503c967fbed5a80dd
parent131fe9b843f9a1e55fcbf2457c9cb25c3711b9d8
migration_cancel: shutdown migration socket

Force shutdown on migration socket on cancel to cause the cancel
to complete even if the socket is blocked on a dead network.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
migration/migration.c