]> Git Repo - qemu.git/commitdiff
docs: Add COLO status diagram to COLO-FT.txt
authorZhang Chen <[email protected]>
Mon, 3 Sep 2018 04:39:00 +0000 (12:39 +0800)
committerJason Wang <[email protected]>
Fri, 19 Oct 2018 03:15:03 +0000 (11:15 +0800)
This diagram make user better understand COLO.
Suggested by Markus Armbruster.

Signed-off-by: Zhang Chen <[email protected]>
Signed-off-by: Zhang Chen <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
docs/COLO-FT.txt

index 70cfb9ce7dfab1636719064bed851e17956235c1..6302469d0ed0455af0aa3894920d6213954c3c60 100644 (file)
@@ -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:
This page took 0.025953 seconds and 4 git commands to generate.