migration: migration_rate_limit_reset() don't need the QEMUFile

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231025091117.6342-9-quintela@redhat.com>
This commit is contained in:
Juan Quintela 2023-10-25 11:11:13 +02:00
parent f57e5a6ce5
commit 0743f41fd2
3 changed files with 3 additions and 5 deletions

View file

@ -120,10 +120,8 @@ uint64_t migration_rate_get(void);
* migration_rate_reset: Reset the rate limit counter.
*
* This is called when we know we start a new transfer cycle.
*
* @f: QEMUFile used for main migration channel
*/
void migration_rate_reset(QEMUFile *f);
void migration_rate_reset(void);
/**
* migration_rate_set: Set the maximum amount that can be transferred.