From 89cfc02cb6e3fdaf8ae246493ea51e75be2818c1 Mon Sep 17 00:00:00 2001 From: Dr. David Alan Gilbert Date: Fri, 20 Oct 2017 10:05:53 +0100 Subject: migration: migrate-continue A new qmp command allows the caller to continue from a given paused state. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Peter Xu Reviewed-by: Juan Quintela Signed-off-by: Juan Quintela --- qapi/migration.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'qapi') diff --git a/qapi/migration.json b/qapi/migration.json index b56f95db64..272f191551 100644 --- a/qapi/migration.json +++ b/qapi/migration.json @@ -876,6 +876,23 @@ ## { 'command': 'migrate_cancel' } +## +# @migrate-continue: +# +# Continue migration when it's in a paused state. +# +# @state: The state the migration is currently expected to be in +# +# Returns: nothing on success +# Since: 2.11 +# Example: +# +# -> { "execute": "migrate-continue" , "arguments": +# { "state": "pre-switchover" } } +# <- { "return": {} } +## +{ 'command': 'migrate-continue', 'data': {'state': 'MigrationStatus'} } + ## # @migrate_set_downtime: # -- cgit v1.2.3-55-g7522