Commit ea3b23e5 authored by Zhang Chen's avatar Zhang Chen Committed by Dr. David Alan Gilbert
Browse files

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: default avatarZhang Chen <zhangckid@gmail.com>
Message-Id: <20181022164118.5502-1-zhangckid@gmail.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
parent 6f5629c6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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' }