diff mbox

Add 'setup' phase to docs for query-migrate QMP command

Message ID 1418393696-19858-1-git-send-email-alex@alex.org.uk
State New
Headers show

Commit Message

Alex Bligh Dec. 12, 2014, 2:14 p.m. UTC
The QMP command 'query-migrate' returns the state 'setup' during
the setup phase. This patch documents it.

Signed-off-by: Alex Bligh <alex@alex.org.uk>
---
 qmp-commands.hx | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Comments

Markus Armbruster Dec. 15, 2014, 9:05 a.m. UTC | #1
Copying migration maintainers.

Alex Bligh <alex@alex.org.uk> writes:

> The QMP command 'query-migrate' returns the state 'setup' during
> the setup phase. This patch documents it.
>
> Signed-off-by: Alex Bligh <alex@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" }
>  <- {
Amit Shah Jan. 16, 2015, 6:15 a.m. UTC | #2
On (Mon) 15 Dec 2014 [10:05:40], Markus Armbruster wrote:
> Copying migration maintainers.

Thanks, Eric, pls give this a look too.

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

		Amit
Eric Blake Jan. 16, 2015, 1:31 p.m. UTC | #3
On 12/12/2014 07:14 AM, Alex Bligh wrote:
> The QMP command 'query-migrate' returns the state 'setup' during
> the setup phase. This patch documents it.
> 
> Signed-off-by: Alex Bligh <alex@alex.org.uk>
> ---
>  qmp-commands.hx | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 

Reviewed-by: Eric Blake <eblake@redhat.com>
Juan Quintela Feb. 11, 2015, 11:56 a.m. UTC | #4
Alex Bligh <alex@alex.org.uk> wrote:
> The QMP command 'query-migrate' returns the state 'setup' during
> the setup phase. This patch documents it.
>
> Signed-off-by: Alex Bligh <alex@alex.org.uk>

Reviewed-by: Juan Quintela <quintela@redhat.com>
diff mbox

Patch

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" }
 <- {