* Jiri Denemark ([email protected]) wrote:
> On Wed, Oct 18, 2017 at 18:40:10 +0100, Dr. David Alan Gilbert (git) wrote:
> > From: "Dr. David Alan Gilbert" <[email protected]>
> >
> > A new qmp command allows the caller to continue from a given
> > paused state.
> >
> > Signed-off-by: Dr. David Alan Gilbert <[email protected]>
> ...
> > diff --git a/qapi/migration.json b/qapi/migration.json
> > index b56f95db64..3b50afa6e8 100644
> > --- a/qapi/migration.json
> > +++ b/qapi/migration.json
> > @@ -877,6 +877,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": "pause-before-device" } }
>
> This example still uses the old name, it should be
>
> -> { "execute": "migrate-continue" , "arguments":
> { "state": "pre-switchover" } }
oops, thanks; fixed.
Dave
> > +# <- { "return": {} }
> > +##
> > +{ 'command': 'migrate-continue', 'data': {'state': 'MigrationStatus'} }
> > +
> > +##
> > # @migrate_set_downtime:
> > #
> > # Set maximum tolerated downtime for migration.
>
> Jirka
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK