Changlong Xie writes ("[PATCH v13 12/26] secondary vm suspend/resume/checkpoint code"): > From: Wen Congyang <we...@cn.fujitsu.com> > > Secondary vm is running in colo mode. So we will do > the following things again and again: > 1. Resume secondary vm > a. Send CHECKPOINT_SVM_READY to master. > b. If it is not the first resume, call > libxl__checkpoint_devices_preresume(). > c. If it is the first resume(resume right after live migration), > - call libxl__xc_domain_restore_done() to build the secondary vm. > - enable secondary vm's logdirty. > - call libxl__domain_resume() to resume secondary vm. > - call libxl__checkpoint_devices_setup() to setup checkpoint devices. > d. Send CHECKPOINT_SVM_RESUMED to master. > 2. Wait a new checkpoint > a. Call libxl__checkpoint_devices_commit(). > b. Read CHECKPOINT_NEW from master. > 3. Suspend secondary vm > a. Suspend secondary vm. > b. Call libxl__checkpoint_devices_postsuspend(). > c. Send CHECKPOINT_SVM_SUSPENDED to master. > 4. Checkpoint > a. Read emulator xenstore data and emulator context > b. REC_TYPE_CHECKPOINT_END > > Signed-off-by: Wen Congyang <we...@cn.fujitsu.com> > Signed-off-by: Yang Hongyang <hongyang.y...@easystack.cn> > Signed-off-by: Changlong Xie <xiecl.f...@cn.fujitsu.com>
Acked-by: Ian Jackson <ian.jack...@eu.citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel