On Fri, Jan 29, 2016 at 01:27:24PM +0800, Wen Congyang wrote: > In normal migration, the qemu state is passed to qemu as a parameter. > With COLO, secondary vm is running. So we will do the following steps > at every checkpoint: > 1. suspend both primary vm and secondary vm > 2. sync the state > 3. resume both primary vm and secondary vm > Primary will send qemu's state in step2, and secondary's qemu should > read it and restore the state before it is resumed. We can not pass > the state to qemu as a parameter because secondary QEMU already started > at this point, so we introduce libxl__domain_restore_device_model() to > do it. This API MUST be called before resuming secondary vm. > > Signed-off-by: Yang Hongyang <hongyang.y...@easystack.cn> > Signed-off-by: Wen Congyang <we...@cn.fujitsu.com> > Cc: Anthony Perard <anthony.per...@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel