aboutsummaryrefslogtreecommitdiff
path: root/migration.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-08-24 12:51:48 +0200
committerJuan Quintela <quintela@redhat.com>2012-10-17 18:34:59 +0200
commit9499743f36169cf7d974640f123bc29836f75a2d (patch)
tree1ba7c7711c3780077979d507f5de5cd86f21e94f /migration.h
parentd2dbc8e6a95a9f66f886c35db42786efc906c777 (diff)
downloadqemu-9499743f36169cf7d974640f123bc29836f75a2d.zip
qemu-9499743f36169cf7d974640f123bc29836f75a2d.tar.gz
qemu-9499743f36169cf7d974640f123bc29836f75a2d.tar.bz2
migration: make migrate_fd_wait_for_unfreeze() return errors
Adjust all callers Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration.h')
-rw-r--r--migration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration.h b/migration.h
index ec022d6..1c3e9b7 100644
--- a/migration.h
+++ b/migration.h
@@ -81,7 +81,7 @@ void migrate_fd_connect(MigrationState *s);
ssize_t migrate_fd_put_buffer(MigrationState *s, const void *data,
size_t size);
void migrate_fd_put_ready(MigrationState *s);
-void migrate_fd_wait_for_unfreeze(MigrationState *s);
+int migrate_fd_wait_for_unfreeze(MigrationState *s);
int migrate_fd_close(MigrationState *s);
void add_migration_state_change_notifier(Notifier *notify);