History | View | Annotate | Download (430 Bytes)
buffered_file: unfold migrate_fd_wait_for_unfreeze
We only used it once, just remove the callback indirection.
Signed-off-by: Juan Quintela <quintela@redhat.com>
buffered_file: unfold migrate_fd_close
buffered_file: We can access directly to bandwidth_limit
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
buffered_file: opaque is MigrationState
It always have that type, just change it.We will remove buffered file later on the migration thread series.
buffered_file: unfold migrate_fd_put_buffer
We only used it once, just remove the callback indirection
buffered_file: unfold migrate_fd_put_ready
We only use it once, just remove the callback indirection.
Introduce a buffered file wrapper for QEMUFile
This patch introduces a buffered QEMUFile wrapper. This allows QEMUFile's to berate limited. It also makes it easier to implement a QEMUFile that isasynchronous since the current QEMUFile API requires that all reads and writes...