Skip to content

Commit

Permalink
migration/colo: Minor fix for colo error message
Browse files Browse the repository at this point in the history
- Explicitly show the missing module name: replication
- Fix capability name to x-colo

Reviewed-by: Peter Xu <[email protected]>
Reviewed-by: Zhang Chen <[email protected]>
Signed-off-by: Li Zhijian <[email protected]>
Suggested-by: Michael Tokarev <[email protected]>
[fixed mangled author email address]
Signed-off-by: Fabiano Rosas <[email protected]>
  • Loading branch information
zhijianli88 authored and Fabiano Rosas committed May 22, 2024
1 parent 01782d6 commit 55a3316
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions migration/migration.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,13 +513,13 @@ void migration_incoming_disable_colo(void)
int migration_incoming_enable_colo(void)
{
#ifndef CONFIG_REPLICATION
error_report("ENABLE_COLO command come in migration stream, but COLO "
"module is not built in");
error_report("ENABLE_COLO command come in migration stream, but the "
"replication module is not built in");
return -ENOTSUP;
#endif

if (!migrate_colo()) {
error_report("ENABLE_COLO command come in migration stream, but c-colo "
error_report("ENABLE_COLO command come in migration stream, but x-colo "
"capability is not set");
return -EINVAL;
}
Expand Down

0 comments on commit 55a3316

Please sign in to comment.