aef060850b
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> |
||
---|---|---|
.. | ||
block.h | ||
colo.h | ||
cpu.h | ||
failover.h | ||
migration.h | ||
page_cache.h | ||
postcopy-ram.h | ||
qemu-file.h | ||
qjson.h | ||
vmstate.h |