diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2016-10-27 14:43:04 +0800 |
---|---|---|
committer | Amit Shah <amit@amitshah.net> | 2016-10-30 15:17:39 +0530 |
commit | aef060850bd0e35aa7128e0ae3cef9d62c328314 (patch) | |
tree | 00d1c224767ef8cf90e230ad56000683b999718e /docs | |
parent | d89e666e0666a0023e4aa6b6b4c4d25d049c5215 (diff) | |
download | qemu-aef060850bd0e35aa7128e0ae3cef9d62c328314.zip qemu-aef060850bd0e35aa7128e0ae3cef9d62c328314.tar.gz qemu-aef060850bd0e35aa7128e0ae3cef9d62c328314.tar.bz2 |
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 <zhang.zhanghailiang@huawei.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Amit Shah <amit@amitshah.net>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions