mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00
migrate-start-postcopy: Improve text
Improve the text in both the qapi-schema and hmp help to point out you need to set the postcopy-ram capability prior to issuing migrate-start-postcopy. Also fix the text of the migrate_start_postcopy error that deals with capabilities. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Acked-by: Jason J. Herne <jjherne@linux.vnet.ibm.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
a3b6ff6d0a
commit
a54d340b9d
3 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue