qemu-e2k/include/migration
zhanghailiang aef060850b 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>
2016-10-30 15:17:39 +05:30
..
block.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
colo.h COLO: Add 'x-colo-lost-heartbeat' command to trigger failover 2016-10-30 15:17:39 +05:30
cpu.h hw: move CPU state serialization to migration/cpu.h 2016-05-19 16:42:28 +02:00
failover.h COLO: Introduce state to record failover process 2016-10-30 15:17:39 +05:30
migration.h migration: Switch to COLO process after finishing loadvm 2016-10-30 15:17:39 +05:30
page_cache.h
postcopy-ram.h Postcopy: Mark nohugepage before discard 2015-11-10 15:00:28 +01:00
qemu-file.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
qjson.h migration/qjson: Drop gratuitous use of QOM 2016-05-23 14:16:12 +05:30
vmstate.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00