On (Tue) 18 Oct 2016 [20:10:00], zhanghailiang wrote: > Switch from normal migration loadvm process into COLO checkpoint process if > COLO mode is enabled. > > We add three new members to struct MigrationIncomingState, > 'have_colo_incoming_thread' and 'colo_incoming_thread' record the COLO > related thread for secondary VM, 'migration_incoming_co' records the > original migration incoming coroutine. > > Signed-off-by: zhanghailiang <zhang.zhanghaili...@huawei.com> > Signed-off-by: Li Zhijian <lizhij...@cn.fujitsu.com> > Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com>
(snip) > +void migration_incoming_exit_colo(void) > +{ > + colo_info.colo_requested = 0; Please use 'true' and 'false' for bools. Otherwise, Reviewed-by: Amit Shah <amit.s...@redhat.com> Amit