aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hmp-commands.hx4
-rw-r--r--migration/migration.c2
-rw-r--r--qapi-schema.json4
3 files changed, 7 insertions, 3 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index f3de407..bb52e4d 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1025,7 +1025,9 @@ ETEXI
.name = "migrate_start_postcopy",
.args_type = "",
.params = "",
- .help = "Switch migration to postcopy mode",
+ .help = "Followup to a migration command to switch the migration"
+ " to postcopy mode. The x-postcopy-ram capability must "
+ "be set before the original migration command.",
.mhandler.cmd = hmp_migrate_start_postcopy,
},
diff --git a/migration/migration.c b/migration/migration.c
index 5df490a..9bd2ce7 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -768,7 +768,7 @@ void qmp_migrate_start_postcopy(Error **errp)
MigrationState *s = migrate_get_current();
if (!migrate_postcopy_ram()) {
- error_setg(errp, "Enable postcopy with migration_set_capability before"
+ error_setg(errp, "Enable postcopy with migrate_set_capability before"
" the start of migration");
return;
}
diff --git a/qapi-schema.json b/qapi-schema.json
index c3f95ab..a1514ca 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -706,7 +706,9 @@
##
# @migrate-start-postcopy
#
-# Switch migration to postcopy mode
+# Followup to a migration command to switch the migration to postcopy mode.
+# The x-postcopy-ram capability must be set before the original migration
+# command.
#
# Since: 2.5
{ 'command': 'migrate-start-postcopy' }