On 3/25/19 12:47 PM, Juan Quintela wrote:
> From: Zhang Chen <chen.zh...@intel.com>
> 
> Add the last_colo_mode to save the status after failover.
> This patch can solve the issue that user want to get last colo mode
> use query_colo_status after failover.
> 
> Signed-off-by: Zhang Chen <chen.zh...@intel.com>
> Reviewed-by: Juan Quintela <quint...@redhat.com>
> Signed-off-by: Juan Quintela <quint...@redhat.com>
> ---

> +++ b/qapi/migration.json
> @@ -1380,12 +1380,17 @@
>  # @mode: COLO running mode. If COLO is running, this field will return
>  #        'primary' or 'secondary'.
>  #
> +# @last_mode: COLO last running mode. If COLO is running, this field
> +#             will return same like mode field, after failover we can
> +#             use this field to get last colo mode. (since 4.1)

s/4.1/4.0/ - now that this pull request is applied, we'll need a
followup patch. (Safe for 4.0, as fixing documentation is doable during
freeze)

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to