Re: [PATCH v2 06/21] migration: rename qemu_ftell to qemu_file_total_transferred

2022-06-20 Thread Juan Quintela
Daniel P. Berrangé wrote: > 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

[PATCH v2 06/21] migration: rename qemu_ftell to qemu_file_total_transferred

2022-06-20 Thread Daniel P . Berrangé
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.