Received: from eggs.gnu.org ([2001:4830:134:3::10]:47042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0RbO-00045U-HU for qemu-devel@nongnu.org; Mon, 15 Dec 2014 04:06:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0RbJ-0004PC-5G for qemu-devel@nongnu.org; Mon, 15 Dec 2014 04:06:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0RbI-0004P8-Sm for qemu-devel@nongnu.org; Mon, 15 Dec 2014 04:05:57 -0500 From: Markus Armbruster References: <1418393696-19858-1-git-send-email-alex@alex.org.uk> Date: Mon, 15 Dec 2014 10:05:40 +0100 In-Reply-To: <1418393696-19858-1-git-send-email-alex@alex.org.uk> (Alex Bligh's message of "Fri, 12 Dec 2014 14:14:56 +0000") Message-ID: <87k31tffkr.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain 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: Alex Bligh Cc: amit.shah@redhat.com, qemu-devel@nongnu.org, Juan Quintela Copying migration maintainers. 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" } > <- {