On (Tue) 18 Oct 2016 [20:10:05], zhanghailiang wrote: > We should not destroy the state of SVM (Secondary VM) until we receive > the complete data of PVM's state, in case the primary fails in the process > of sending the state, so we cache the VM's state in secondary side before > load it into SVM. > > Besides, we should call qemu_system_reset() before load VM state, > which can ensure the data is intact. > > Signed-off-by: zhanghailiang <zhang.zhanghaili...@huawei.com> > Signed-off-by: Li Zhijian <lizhij...@cn.fujitsu.com> > Signed-off-by: Gonglei <arei.gong...@huawei.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