mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
colo-compare: implement the process of checkpoint
While do checkpoint, we need to flush all the unhandled packets, By using the filter notifier mechanism, we can easily to notify every compare object to do this process, which runs inside of compare threads as a coroutine. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Signed-off-by: Zhang Chen <zhangckid@gmail.com> Signed-off-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
6214231abd
commit
0ffcece325
3 changed files with 106 additions and 0 deletions
|
@ -16,6 +16,12 @@
|
|||
#include "qemu-common.h"
|
||||
#include "qapi/qapi-types-migration.h"
|
||||
|
||||
enum colo_event {
|
||||
COLO_EVENT_NONE,
|
||||
COLO_EVENT_CHECKPOINT,
|
||||
COLO_EVENT_FAILOVER,
|
||||
};
|
||||
|
||||
void colo_info_init(void);
|
||||
|
||||
void migrate_start_colo_process(MigrationState *s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue