migration: rename qemu_file_update_transfer to qemu_file_acct_rate_limit
commitbc698c367d6fac15454ee3ff6bb168e43c151465
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 20 Jun 2022 11:01:52 +0000 (20 12:01 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 22 Jun 2022 18:33:43 +0000 (22 19:33 +0100)
tree80bac9b16096d77c6f00284be2328ac779798795
parent1a93bd2f60acbf7eb3583805f9d6605d909d403f
migration: rename qemu_file_update_transfer to qemu_file_acct_rate_limit

The qemu_file_update_transfer name doesn't give a clear guide on what
its purpose is, and how it differs from the qemu_file_credit_transfer
method. The latter is specifically for accumulating for total migration
traffic, while the former is specifically for accounting in thue rate
limit calculations. The new name give better guidance on its usage.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@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>
migration/multifd.c
migration/qemu-file.c
migration/qemu-file.h