COLO: integrate colo compare with colo frame
commit131b2153fc7970fab780dc875f59823e3b23612a
authorZhang Chen <zhangckid@gmail.com>
Mon, 3 Sep 2018 04:38:45 +0000 (3 12:38 +0800)
committerJason Wang <jasowang@redhat.com>
Fri, 19 Oct 2018 03:15:03 +0000 (19 11:15 +0800)
tree0d392d21ad368d84d6421e539fb8e685054c224a
parentdccd0313b69161fe2235c97633f40ecc041542ac
COLO: integrate colo compare with colo frame

For COLO FT, both the PVM and SVM run at the same time,
only sync the state while it needs.

So here, let SVM runs while not doing checkpoint, change
DEFAULT_MIGRATE_X_CHECKPOINT_DELAY to 200*100.

Besides, we forgot to release colo_checkpoint_semd and
colo_delay_timer, fix them here.

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>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
migration/colo.c
migration/migration.c