]> git.proxmox.com Git - mirror_qemu.git/commit
Changed the last-mode to none of first start COLO
authorRao, Lei <lei.rao@intel.com>
Mon, 1 Nov 2021 07:57:04 +0000 (15:57 +0800)
committerJuan Quintela <quintela@trasno.org>
Wed, 3 Nov 2021 08:38:53 +0000 (09:38 +0100)
commit2b9f6bf36c7483a07e45cc20cb0bb794769fb6d1
tree962fbc02ee550adbd939a484e653cf4b310ceae2
parent04dd89169b94789aacde0a9b29943e8614879343
Changed the last-mode to none of first start COLO

When we first stated the COLO, the last-mode is as follows:
{ "execute": "query-colo-status" }
{"return": {"last-mode": "primary", "mode": "primary", "reason": "none"}}

The last-mode is unreasonable. After the patch, will be changed to the
following:
{ "execute": "query-colo-status" }
{"return": {"last-mode": "none", "mode": "primary", "reason": "none"}}

Signed-off-by: Lei Rao <lei.rao@intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/colo.c