]> Git Repo - qemu.git/commit
COLO: Introduce state to record failover process
authorzhanghailiang <[email protected]>
Thu, 27 Oct 2016 06:43:04 +0000 (14:43 +0800)
committerAmit Shah <[email protected]>
Sun, 30 Oct 2016 09:47:39 +0000 (15:17 +0530)
commitaef060850bd0e35aa7128e0ae3cef9d62c328314
tree00d1c224767ef8cf90e230ad56000683b999718e
parentd89e666e0666a0023e4aa6b6b4c4d25d049c5215
COLO: Introduce state to record failover process

When handling failover, COLO processes differently according to
the different stage of failover process, here we introduce a global
atomic variable to record the status of failover.

We add four failover status to indicate the different stage of failover process.
You should use the helpers to get and set the value.

Signed-off-by: zhanghailiang <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Amit Shah <[email protected]>
Signed-off-by: Amit Shah <[email protected]>
include/migration/failover.h
migration/colo-failover.c
migration/colo.c
migration/trace-events
qapi-schema.json
This page took 0.02302 seconds and 4 git commands to generate.