summaryrefslogtreecommitdiffstats
path: root/include/migration/migration.h
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2015-11-05 18:10:49 +0000
committerJuan Quintela <quintela@redhat.com>2015-11-10 15:00:26 +0100
commit70b2047774231ba2cb672eb936e12f603fa644aa (patch)
tree357fdd77c28d103fb71c70838f67c7b1d78f9bf8 /include/migration/migration.h
parentf6844b99ce08e836d509ec4be2fbfc5ab13ac18f (diff)
downloadhqemu-70b2047774231ba2cb672eb936e12f603fa644aa.zip
hqemu-70b2047774231ba2cb672eb936e12f603fa644aa.tar.gz
Return path: Source handling of return path
Open a return path, and handle messages that are received upon it. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/migration/migration.h')
-rw-r--r--include/migration/migration.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index 3ce3fda..571466b 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -80,6 +80,14 @@ struct MigrationState
int state;
MigrationParams params;
+
+ /* State related to return path */
+ struct {
+ QEMUFile *from_dst_file;
+ QemuThread rp_thread;
+ bool error;
+ } rp_state;
+
double mbps;
int64_t total_time;
int64_t downtime;
OpenPOWER on IntegriCloud