diff mbox series

qapi: Fix COLOStatus and query-colo-status since version

Message ID 20181022164118.5502-1-zhangckid@gmail.com
State New
Headers show
Series qapi: Fix COLOStatus and query-colo-status since version | expand

Commit Message

Zhang Chen Oct. 22, 2018, 4:41 p.m. UTC
This structure and command have missed qemu version 3.0, so fix it to since version 3.1.

Signed-off-by: Zhang Chen <zhangckid@gmail.com>
---
 qapi/migration.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Eric Blake Oct. 23, 2018, 8:24 a.m. UTC | #1
On 10/22/18 5:41 PM, Zhang Chen wrote:
> This structure and command have missed qemu version 3.0, so fix it to since version 3.1.
> 
> Signed-off-by: Zhang Chen <zhangckid@gmail.com>
> ---
>   qapi/migration.json | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/qapi/migration.json b/qapi/migration.json
> index 0928f4b727..38d4c41d88 100644
> --- a/qapi/migration.json
> +++ b/qapi/migration.json
> @@ -1317,7 +1317,7 @@
>   #
>   # @reason: describes the reason for the COLO exit.
>   #
> -# Since: 3.0
> +# Since: 3.1
>   ##
>   { 'struct': 'COLOStatus',
>     'data': { 'mode': 'COLOMode', 'reason': 'COLOExitReason' } }
> @@ -1334,7 +1334,7 @@
>   # -> { "execute": "query-colo-status" }
>   # <- { "return": { "mode": "primary", "active": true, "reason": "request" } }
>   #
> -# Since: 3.0
> +# Since: 3.1
>   ##
>   { 'command': 'query-colo-status',
>     'returns': 'COLOStatus' }
>
Dr. David Alan Gilbert Oct. 23, 2018, 8:29 a.m. UTC | #2
* Zhang Chen (zhangckid@gmail.com) wrote:
> This structure and command have missed qemu version 3.0, so fix it to since version 3.1.
> 
> Signed-off-by: Zhang Chen <zhangckid@gmail.com>

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

> ---
>  qapi/migration.json | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/qapi/migration.json b/qapi/migration.json
> index 0928f4b727..38d4c41d88 100644
> --- a/qapi/migration.json
> +++ b/qapi/migration.json
> @@ -1317,7 +1317,7 @@
>  #
>  # @reason: describes the reason for the COLO exit.
>  #
> -# Since: 3.0
> +# Since: 3.1
>  ##
>  { 'struct': 'COLOStatus',
>    'data': { 'mode': 'COLOMode', 'reason': 'COLOExitReason' } }
> @@ -1334,7 +1334,7 @@
>  # -> { "execute": "query-colo-status" }
>  # <- { "return": { "mode": "primary", "active": true, "reason": "request" } }
>  #
> -# Since: 3.0
> +# Since: 3.1
>  ##
>  { 'command': 'query-colo-status',
>    'returns': 'COLOStatus' }
> -- 
> 2.17.GIT
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
Dr. David Alan Gilbert Oct. 30, 2018, 5:21 p.m. UTC | #3
* Zhang Chen (zhangckid@gmail.com) wrote:
> This structure and command have missed qemu version 3.0, so fix it to since version 3.1.
> 
> Signed-off-by: Zhang Chen <zhangckid@gmail.com>

Queued

> ---
>  qapi/migration.json | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/qapi/migration.json b/qapi/migration.json
> index 0928f4b727..38d4c41d88 100644
> --- a/qapi/migration.json
> +++ b/qapi/migration.json
> @@ -1317,7 +1317,7 @@
>  #
>  # @reason: describes the reason for the COLO exit.
>  #
> -# Since: 3.0
> +# Since: 3.1
>  ##
>  { 'struct': 'COLOStatus',
>    'data': { 'mode': 'COLOMode', 'reason': 'COLOExitReason' } }
> @@ -1334,7 +1334,7 @@
>  # -> { "execute": "query-colo-status" }
>  # <- { "return": { "mode": "primary", "active": true, "reason": "request" } }
>  #
> -# Since: 3.0
> +# Since: 3.1
>  ##
>  { 'command': 'query-colo-status',
>    'returns': 'COLOStatus' }
> -- 
> 2.17.GIT
> 
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
diff mbox series

Patch

diff --git a/qapi/migration.json b/qapi/migration.json
index 0928f4b727..38d4c41d88 100644
--- a/qapi/migration.json
+++ b/qapi/migration.json
@@ -1317,7 +1317,7 @@ 
 #
 # @reason: describes the reason for the COLO exit.
 #
-# Since: 3.0
+# Since: 3.1
 ##
 { 'struct': 'COLOStatus',
   'data': { 'mode': 'COLOMode', 'reason': 'COLOExitReason' } }
@@ -1334,7 +1334,7 @@ 
 # -> { "execute": "query-colo-status" }
 # <- { "return": { "mode": "primary", "active": true, "reason": "request" } }
 #
-# Since: 3.0
+# Since: 3.1
 ##
 { 'command': 'query-colo-status',
   'returns': 'COLOStatus' }