diff options
author | Juan Quintela <quintela@redhat.com> | 2012-07-20 13:13:59 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-10-17 18:34:58 +0200 |
commit | 2c9adcb850bba7a24caec4d666dc01deca9f7649 (patch) | |
tree | 4ca3bc645e4ae1c5f09f5160f21d3021c1d36181 /buffered_file.h | |
parent | c87b015bc71734db74f5bdffeda122a224c75bbb (diff) | |
download | qemu-2c9adcb850bba7a24caec4d666dc01deca9f7649.zip |
buffered_file: unfold migrate_fd_put_ready
We only use 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 'buffered_file.h')
-rw-r--r-- | buffered_file.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/buffered_file.h b/buffered_file.h index ca7e62d4b3..dd239b3d02 100644 --- a/buffered_file.h +++ b/buffered_file.h @@ -17,13 +17,11 @@ #include "hw/hw.h" #include "migration.h" -typedef void (BufferedPutReadyFunc)(void *opaque); typedef void (BufferedWaitForUnfreezeFunc)(void *opaque); typedef int (BufferedCloseFunc)(void *opaque); QEMUFile *qemu_fopen_ops_buffered(MigrationState *migration_state, size_t xfer_limit, - BufferedPutReadyFunc *put_ready, BufferedWaitForUnfreezeFunc *wait_for_unfreeze, BufferedCloseFunc *close); |