The QMP command 'query-migrate' returns the state 'setup' during the setup phase. This patch documents it.
Signed-off-by: Alex Bligh <a...@alex.org.uk> --- 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