From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5BtP-0003p7-Iu for qemu-devel@nongnu.org; Thu, 19 Oct 2017 10:33:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5BtM-0000af-Gx for qemu-devel@nongnu.org; Thu, 19 Oct 2017 10:33:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45302) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e5BtM-0000Zt-Af for qemu-devel@nongnu.org; Thu, 19 Oct 2017 10:33:48 -0400 Date: Thu, 19 Oct 2017 16:33:42 +0200 From: Jiri Denemark Message-ID: <20171019143342.GF130425@orkuz.home> References: <20171018174013.22709-1-dgilbert@redhat.com> <20171018174013.22709-5-dgilbert@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171018174013.22709-5-dgilbert@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 4/7] migration: migrate-continue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: qemu-devel@nongnu.org, kwolf@redhat.com, wangjie88@huawei.com, quintela@redhat.com, peterx@redhat.com, mreitz@redhat.com, berrange@redhat.com, eblake@redhat.com, fuweiwei2@huawei.com On Wed, Oct 18, 2017 at 18:40:10 +0100, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > A new qmp command allows the caller to continue from a given > paused state. > > Signed-off-by: Dr. David Alan Gilbert ... > 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" } } > +# <- { "return": {} } > +## > +{ 'command': 'migrate-continue', 'data': {'state': 'MigrationStatus'} } > + > +## > # @migrate_set_downtime: > # > # Set maximum tolerated downtime for migration. Jirka