[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 19/43] migration: Use migrate_max_postcopy_bandwidth()
From: |
Juan Quintela |
Subject: |
[PATCH v2 19/43] migration: Use migrate_max_postcopy_bandwidth() |
Date: |
Thu, 20 Apr 2023 15:39:38 +0200 |
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
migration/migration.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/migration/migration.c b/migration/migration.c
index 028c297121..88bcaec08e 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -3800,7 +3800,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 */
--
2.39.2
- [PATCH v2 15/43] migration: Move qmp_query_migrate_capabilities() to options.c, (continued)
- [PATCH v2 15/43] migration: Move qmp_query_migrate_capabilities() to options.c, Juan Quintela, 2023/04/20
- [PATCH v2 16/43] migration: Move qmp_migrate_set_capabilities() to options.c, Juan Quintela, 2023/04/20
- [PATCH v2 17/43] migration: Move migrate_cap_set() to options.c, Juan Quintela, 2023/04/20
- [PATCH v2 18/43] migration: Move parameters functions to option.c, Juan Quintela, 2023/04/20
- [PATCH v2 14/43] migration: Move migrate_caps_check() to options.c, Juan Quintela, 2023/04/20
- [PATCH v2 19/43] migration: Use migrate_max_postcopy_bandwidth(),
Juan Quintela <=
- [PATCH v2 20/43] migration: Move migrate_use_block_incremental() to option.c, Juan Quintela, 2023/04/20
- [PATCH v2 22/43] migration: Create migrate_checkpoint_delay(), Juan Quintela, 2023/04/20
- [PATCH v2 21/43] migration: Create migrate_throttle_trigger_threshold(), Juan Quintela, 2023/04/20
- [PATCH v2 23/43] migration: Create migrate_max_cpu_throttle(), Juan Quintela, 2023/04/20
- [PATCH v2 27/43] migration: Create migrate_cpu_throttle_tailslow() function, Juan Quintela, 2023/04/20