From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YC0CN-0001yy-6H for qemu-devel@nongnu.org; Fri, 16 Jan 2015 01:16:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YC0CI-0001js-3b for qemu-devel@nongnu.org; Fri, 16 Jan 2015 01:15:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YC0CH-0001jl-Qi for qemu-devel@nongnu.org; Fri, 16 Jan 2015 01:15:54 -0500 Date: Fri, 16 Jan 2015 11:45:38 +0530 From: Amit Shah Message-ID: <20150116061538.GA23691@grmbl.mre> References: <1418393696-19858-1-git-send-email-alex@alex.org.uk> <87k31tffkr.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87k31tffkr.fsf@blackfin.pond.sub.org> Subject: Re: [Qemu-devel] [PATCH] Add 'setup' phase to docs for query-migrate QMP command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-devel@nongnu.org, Alex Bligh , Juan Quintela On (Mon) 15 Dec 2014 [10:05:40], Markus Armbruster wrote: > Copying migration maintainers. Thanks, Eric, pls give this a look too. > > Alex Bligh writes: > > > The QMP command 'query-migrate' returns the state 'setup' during > > the setup phase. This patch documents it. > > > > Signed-off-by: Alex Bligh > > --- > > qmp-commands.hx | 11 ++++++++--- > > 1 file changed, 8 insertions(+), 3 deletions(-) > > > > diff --git a/qmp-commands.hx b/qmp-commands.hx > > index 3348782..e9cff2c 100644 > > --- a/qmp-commands.hx > > +++ b/qmp-commands.hx > > @@ -3092,7 +3092,12 @@ Examples: > > -> { "execute": "query-migrate" } > > <- { "return": { "status": "failed" } } > > > > -4. Migration is being performed and is not a block migration: > > +4. Migration has been requested but is still in setup phase > > + > > +-> { "execute": "query-migrate" } > > +<- { "return": { "status": "setup" } } > > + > > +5. Migration is being performed and is not a block migration: > > > > -> { "execute": "query-migrate" } > > <- { > > @@ -3113,7 +3118,7 @@ Examples: > > } > > } > > > > -5. Migration is being performed and is a block migration: > > +6. Migration is being performed and is a block migration: > > > > -> { "execute": "query-migrate" } > > <- { > > @@ -3139,7 +3144,7 @@ Examples: > > } > > } > > > > -6. Migration is being performed and XBZRLE is active: > > +7. Migration is being performed and XBZRLE is active: > > > > -> { "execute": "query-migrate" } > > <- { Amit