migration: rename qemu_ftell to qemu_file_total_transferred
The name 'ftell' gives the misleading impression that the QEMUFile objects are seekable. This is not the case, as in general we just have an opaque stream. The users of this method are only interested in the total bytes processed. This switches to a new name that reflects the intended usage. Reviewed-by:Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by:
Daniel P. Berrangé <berrange@redhat.com> Reviewed-by:
Juan Quintela <quintela@redhat.com> Signed-off-by:
Juan Quintela <quintela@redhat.com> Signed-off-by:
Dr. David Alan Gilbert <dgilbert@redhat.com> dgilbert: Wrapped long line
Showing
- migration/block.c 5 additions, 5 deletionsmigration/block.c
- migration/migration.c 2 additions, 1 deletionmigration/migration.c
- migration/qemu-file.c 2 additions, 2 deletionsmigration/qemu-file.c
- migration/qemu-file.h 31 additions, 2 deletionsmigration/qemu-file.h
- migration/savevm.c 3 additions, 3 deletionsmigration/savevm.c
- migration/vmstate.c 3 additions, 2 deletionsmigration/vmstate.c
Loading
Please register or sign in to comment