Received: from eggs.gnu.org ([2001:4830:134:3::10]:33268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzQzu-0001uV-Un for qemu-devel@nongnu.org; Fri, 12 Dec 2014 09:15:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzQzn-00080l-Fi for qemu-devel@nongnu.org; Fri, 12 Dec 2014 09:15:10 -0500 Received: from mail.avalus.com ([2001:41c8:10:1dd::10]:46281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzQzn-000806-Ad for qemu-devel@nongnu.org; Fri, 12 Dec 2014 09:15:03 -0500 From: Alex Bligh Date: Fri, 12 Dec 2014 14:14:56 +0000 Message-Id: <1418393696-19858-1-git-send-email-alex@alex.org.uk> Subject: [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: qemu-devel@nongnu.org Cc: Alex Bligh 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" } <- { -- 1.9.1