[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] migration/channel errors and cancelling
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[Qemu-devel] [PATCH 0/2] migration/channel errors and cancelling |
Date: |
Fri, 15 Dec 2017 17:16:53 +0000 |
From: "Dr. David Alan Gilbert" <address@hidden>
Hi,
Where a channel fails asynchronously during connect, call
back through the migration code so it can clean up.
In particular this causes the transition of a 'cancelling' state
to 'cancelled' in the case of:
migrate -d tcp:deadhost:port
<host tries to connect>
migrate_cancel
previously the status would get stuck in cancelling because
the final cleanup didn't happen.
This is the second part of the fix for:
https://bugzilla.redhat.com/show_bug.cgi?id=1525899
Dave
Dr. David Alan Gilbert (2):
migration: Allow migrate_fd_connect to take an Error *
migration: Route errors down through migration_channel_connect
migration/channel.c | 32 ++++++++++++++++----------------
migration/channel.h | 3 ++-
migration/exec.c | 2 +-
migration/fd.c | 2 +-
migration/migration.c | 7 ++++++-
migration/migration.h | 2 +-
migration/rdma.c | 2 +-
migration/socket.c | 4 +---
migration/tls.c | 3 +--
migration/trace-events | 2 +-
10 files changed, 31 insertions(+), 28 deletions(-)
--
2.14.3
- [Qemu-devel] [PATCH 0/2] migration/channel errors and cancelling,
Dr. David Alan Gilbert (git) <=