[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 10/30] migration: Fix the re-run check of the migrate-incoming com
From: |
Juan Quintela |
Subject: |
[PULL 10/30] migration: Fix the re-run check of the migrate-incoming command |
Date: |
Tue, 14 Jan 2020 12:39:06 +0100 |
From: Yury Kotov <address@hidden>
The current check sets an error but doesn't fail the command.
This may cause a problem if new connection attempt by the same URI
affects the first connection.
Signed-off-by: Yury Kotov <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Reviewed-by: Darren Kenny <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
migration/migration.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/migration/migration.c b/migration/migration.c
index f79d0bf89a..e55edee606 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -1784,6 +1784,7 @@ void qmp_migrate_incoming(const char *uri, Error **errp)
}
if (!once) {
error_setg(errp, "The incoming migration has already been started");
+ return;
}
qemu_start_incoming_migration(uri, &local_err);
--
2.24.1
- [PULL 00/30] Migration pull patches (3rd try), Juan Quintela, 2020/01/14
- [PULL 01/30] multifd: Initialize local variable, Juan Quintela, 2020/01/14
- [PULL 02/30] migration-test: Add migration multifd test, Juan Quintela, 2020/01/14
- [PULL 03/30] migration: Make sure that we don't call write() in case of error, Juan Quintela, 2020/01/14
- [PULL 04/30] migration-test: introduce functions to handle string parameters, Juan Quintela, 2020/01/14
- [PULL 05/30] migration-test: ppc64: fix FORTH test program, Juan Quintela, 2020/01/14
- [PULL 06/30] runstate: ignore finishmigrate -> prelaunch transition, Juan Quintela, 2020/01/14
- [PULL 07/30] ram.c: remove unneeded labels, Juan Quintela, 2020/01/14
- [PULL 08/30] migration: Rate limit inside host pages, Juan Quintela, 2020/01/14
- [PULL 09/30] migration: Fix incorrect integer->float conversion caught by clang, Juan Quintela, 2020/01/14
- [PULL 10/30] migration: Fix the re-run check of the migrate-incoming command,
Juan Quintela <=
- [PULL 11/30] misc: use QEMU_IS_ALIGNED, Juan Quintela, 2020/01/14
- [PULL 12/30] migration: add savevm_state_handler_remove(), Juan Quintela, 2020/01/14
- [PULL 13/30] migration: savevm_state_handler_insert: constant-time element insertion, Juan Quintela, 2020/01/14
- [PULL 14/30] migration/ram: Yield periodically to the main loop, Juan Quintela, 2020/01/14
- [PULL 15/30] migration/postcopy: reduce memset when it is zero page and matches_target_page_size, Juan Quintela, 2020/01/14
- [PULL 16/30] migration/postcopy: wait for decompress thread in precopy, Juan Quintela, 2020/01/14
- [PULL 17/30] migration/postcopy: count target page number to decide the place_needed, Juan Quintela, 2020/01/14
- [PULL 18/30] migration/postcopy: set all_zero to true on the first target page, Juan Quintela, 2020/01/14
- [PULL 19/30] migration/postcopy: enable random order target page arrival, Juan Quintela, 2020/01/14
- [PULL 20/30] migration/postcopy: enable compress during postcopy, Juan Quintela, 2020/01/14