migration: Use migration_transferred_bytes() to calculate rate_limit
commit813cd61669e45ee6d5db09a83d03df8f0c6eb5d2
authorJuan Quintela <quintela@redhat.com>
Mon, 15 May 2023 19:57:01 +0000 (15 21:57 +0200)
committerJuan Quintela <quintela@redhat.com>
Thu, 18 May 2023 16:40:51 +0000 (18 18:40 +0200)
tree7a9dc33647ab2952477c3f3ede345ad7b7759551
parent3db9c05a9006550da3a73600cec89bb995420325
migration: Use migration_transferred_bytes() to calculate rate_limit

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20230515195709.63843-9-quintela@redhat.com>
migration/migration-stats.c
migration/migration-stats.h
migration/migration.c