mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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:
parent
f57e5a6ce5
commit
0743f41fd2
3 changed files with 3 additions and 5 deletions
|
@ -54,7 +54,7 @@ void migration_rate_set(uint64_t limit)
|
|||
stat64_set(&mig_stats.rate_limit_max, limit / XFER_LIMIT_RATIO);
|
||||
}
|
||||
|
||||
void migration_rate_reset(QEMUFile *f)
|
||||
void migration_rate_reset(void)
|
||||
{
|
||||
stat64_set(&mig_stats.rate_limit_start, migration_transferred_bytes());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue