diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2015-11-05 18:10:49 +0000 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-11-10 15:00:26 +0100 |
commit | 70b2047774231ba2cb672eb936e12f603fa644aa (patch) | |
tree | 357fdd77c28d103fb71c70838f67c7b1d78f9bf8 /include/migration | |
parent | f6844b99ce08e836d509ec4be2fbfc5ab13ac18f (diff) | |
download | qemu-70b2047774231ba2cb672eb936e12f603fa644aa.zip qemu-70b2047774231ba2cb672eb936e12f603fa644aa.tar.gz qemu-70b2047774231ba2cb672eb936e12f603fa644aa.tar.bz2 |
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')
-rw-r--r-- | include/migration/migration.h | 8 |
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; |