From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> 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.
Signed-off-by: Dr. David Alan Gilbert <dgilb...@redhat.com> --- hmp-commands.hx | 4 +++- qapi-schema.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hmp-commands.hx b/hmp-commands.hx index 8939b98..3316ee3 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1011,7 +1011,9 @@ ETEXI .name = "migrate_start_postcopy", .args_type = "", .params = "", - .help = "Switch migration to postcopy mode", + .help = "Switch current migration to postcopy mode; " + "the x-postcopy-ram capability must be set before" + " issuing this command.", .mhandler.cmd = hmp_migrate_start_postcopy, }, diff --git a/qapi-schema.json b/qapi-schema.json index 8c3a42a..2d1845a 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -706,7 +706,8 @@ ## # @migrate-start-postcopy # -# Switch migration to postcopy mode +# Switch current migration to postcopy mode; the x-postcopy-ram capability +# must be set before issuing this command. # # Since: 2.5 { 'command': 'migrate-start-postcopy' } -- 2.5.0