aboutsummaryrefslogtreecommitdiff
path: root/migration.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-07-20 13:10:54 +0200
committerJuan Quintela <quintela@redhat.com>2012-10-17 18:34:58 +0200
commitc87b015bc71734db74f5bdffeda122a224c75bbb (patch)
tree4bfa63e628b8e5ea0e7f927278a8eb2081041129 /migration.h
parentc7a8f0cdd25ed552e6dba124877bd3364054c55c (diff)
buffered_file: unfold migrate_fd_put_buffer
We only used it once, just remove the callback indirection Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration.h')
-rw-r--r--migration.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/migration.h b/migration.h
index 66d7f68bb8..02d0219e86 100644
--- a/migration.h
+++ b/migration.h
@@ -78,6 +78,9 @@ void migrate_fd_error(MigrationState *s);
void migrate_fd_connect(MigrationState *s);
+ssize_t migrate_fd_put_buffer(MigrationState *s, const void *data,
+ size_t size);
+
void add_migration_state_change_notifier(Notifier *notify);
void remove_migration_state_change_notifier(Notifier *notify);
bool migration_is_active(MigrationState *);