Re: [PATCH v2 07/21] migration: rename qemu_update_position to qemu_file_credit_transfer

2022-06-20 Thread Juan Quintela
Daniel P. Berrangé wrote: > The qemu_update_position method name gives the misleading impression > that it is changing the current file offset. Most of the files are > just streams, however, so there's no concept of a file offset in the > general case. > > What this method is actually used for is

[PATCH v2 07/21] migration: rename qemu_update_position to qemu_file_credit_transfer

2022-06-20 Thread Daniel P . Berrangé
The qemu_update_position method name gives the misleading impression that it is changing the current file offset. Most of the files are just streams, however, so there's no concept of a file offset in the general case. What this method is actually used for is to report on the number of bytes that