On (Tue) 18 Oct 2016 [20:10:04], zhanghailiang wrote: > VM checkpointing is to synchronize the state of PVM to SVM, just > like migration does, we re-use save helpers to achieve migrating > PVM's state to Secondary side. > > COLO need to cache the data of VM's state in the secondary side before > synchronize it to SVM. COLO need the size of the data to determine > how much data should be read in the secondary side. > So here, we can get the size of the data by saving it into I/O channel > before send it to the secondary side. > > Signed-off-by: zhanghailiang <zhang.zhanghaili...@huawei.com> > Signed-off-by: Gonglei <arei.gong...@huawei.com> > Signed-off-by: Li Zhijian <lizhij...@cn.fujitsu.com> > Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > Cc: Dr. David Alan Gilbert <dgilb...@redhat.com>
Reviewed-by: Amit Shah <amit.s...@redhat.com> Amit