mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
migration: Use migrate_max_postcopy_bandwidth()
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
This commit is contained in:
@@ -3795,7 +3795,7 @@ void migrate_fd_connect(MigrationState *s, Error *error_in)
|
||||
|
||||
if (resume) {
|
||||
/* This is a resumed migration */
|
||||
rate_limit = s->parameters.max_postcopy_bandwidth /
|
||||
rate_limit = migrate_max_postcopy_bandwidth() /
|
||||
XFER_LIMIT_RATIO;
|
||||
} else {
|
||||
/* This is a fresh new migration */
|
||||
|
||||
Reference in New Issue
Block a user