aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorZhang Chen <chen.zhang@intel.com>2018-09-03 12:39:00 +0800
committerJason Wang <jasowang@redhat.com>2018-10-19 11:15:03 +0800
commit8e640892ec2f54bd22d242d83953fba5ba98aac1 (patch)
treea0c2b43f7b8c3424eb786468beeada79f5608370 /docs
parent2518aec19250531c4e03208b273a6b44b1344c33 (diff)
downloadqemu-8e640892ec2f54bd22d242d83953fba5ba98aac1.zip
qemu-8e640892ec2f54bd22d242d83953fba5ba98aac1.tar.gz
qemu-8e640892ec2f54bd22d242d83953fba5ba98aac1.tar.bz2
docs: Add COLO status diagram to COLO-FT.txt
This diagram make user better understand COLO. Suggested by Markus Armbruster. Signed-off-by: Zhang Chen <zhangckid@gmail.com> Signed-off-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/COLO-FT.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/COLO-FT.txt b/docs/COLO-FT.txt
index 70cfb9c..6302469 100644
--- a/docs/COLO-FT.txt
+++ b/docs/COLO-FT.txt
@@ -110,6 +110,40 @@ Note:
HeartBeat has not been implemented yet, so you need to trigger failover process
by using 'x-colo-lost-heartbeat' command.
+== COLO operation status ==
+
++-----------------+
+| |
+| Start COLO |
+| |
++--------+--------+
+ |
+ | Main qmp command:
+ | migrate-set-capabilities with x-colo
+ | migrate
+ |
+ v
++--------+--------+
+| |
+| COLO running |
+| |
++--------+--------+
+ |
+ | Main qmp command:
+ | x-colo-lost-heartbeat
+ | or
+ | some error happened
+ v
++--------+--------+
+| | send qmp event:
+| COLO failover | COLO_EXIT
+| |
++-----------------+
+
+COLO use the qmp command to switch and report operation status.
+The diagram just shows the main qmp command, you can get the detail
+in test procedure.
+
== Test procedure ==
1. Startup qemu
Primary: