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

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>
Message-Id: <20181022164118.5502-1-zhangckid@gmail.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
master
Zhang Chen 2018-10-23 00:41:18 +08:00 committed by Dr. David Alan Gilbert
parent 6f5629c6b2
commit ea3b23e5ff
1 changed files with 2 additions and 2 deletions

View File

@ -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' }