aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-22 17:36:21 +0100
committerJuan Quintela <quintela@redhat.com>2013-03-11 13:32:01 +0100
commitbb1fadc444ff967554c41d96cb9dde110e8aece9 (patch)
treeb2b1bf8d000f8abaa6e34bd5202b7731ca551cbe /include
parentf4410a5d9926886c36d9fa9fdd969d0469d62724 (diff)
downloadqemu-bb1fadc444ff967554c41d96cb9dde110e8aece9.zip
qemu-bb1fadc444ff967554c41d96cb9dde110e8aece9.tar.gz
qemu-bb1fadc444ff967554c41d96cb9dde110e8aece9.tar.bz2
migration: cleanup migration (including thread) in the iothread
Perform final cleanup in a bottom half, and add joining the thread to the series of cleanup actions. migrate_fd_error remains for connection error, but it doesn't need to cleanup anything anymore. Reviewed-by: Orit Wasserman <owasserm@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/migration/migration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index 3e680af..ed20bed 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -38,6 +38,7 @@ struct MigrationState
size_t buffer_size;
size_t buffer_capacity;
QemuThread thread;
+ QEMUBH *cleanup_bh;
QEMUFile *file;
int fd;