Re: [Xen-devel] [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code

2015-06-16 Thread Ian Jackson
Yang Hongyang writes ("Re: [Xen-devel] [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code"): > > On Mon, Jun 08, 2015 at 11:45:46AM +0800, Yang Hongyang wrote: ... > >> 3. Suspend secondary vm > >> a. Suspend secondary vm. > >> b.

Re: [Xen-devel] [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code

2015-06-14 Thread Yang Hongyang
Hi Ian J, Wei, On 06/12/2015 10:51 PM, Ian Jackson wrote: Wei Liu writes ("Re: [Xen-devel] [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code"): On Mon, Jun 08, 2015 at 11:45:46AM +0800, Yang Hongyang wrote: From: Wen Congyang +crcs->status = LIBXL

Re: [Xen-devel] [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code

2015-06-14 Thread Yang Hongyang
On 06/12/2015 10:23 PM, Wei Liu wrote: On Mon, Jun 08, 2015 at 11:45:46AM +0800, Yang Hongyang wrote: From: Wen Congyang Secondary vm is running in colo mode. So we will do the following things again and again: 1. Resume secondary vm a. Send LIBXL_COLO_SVM_READY to master. b. If it i

Re: [Xen-devel] [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code

2015-06-12 Thread Ian Jackson
Wei Liu writes ("Re: [Xen-devel] [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code"): > On Mon, Jun 08, 2015 at 11:45:46AM +0800, Yang Hongyang wrote: > > From: Wen Congyang > > +crcs->status = LIBXL_COLO_RESUMED; > > + > > +/* avo

Re: [Xen-devel] [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code

2015-06-12 Thread Wei Liu
On Mon, Jun 08, 2015 at 11:45:46AM +0800, Yang Hongyang wrote: > From: Wen Congyang > > Secondary vm is running in colo mode. So we will do > the following things again and again: > 1. Resume secondary vm >a. Send LIBXL_COLO_SVM_READY to master. >b. If it is not the first resume, call >

[Xen-devel] [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code

2015-06-07 Thread Yang Hongyang
From: Wen Congyang Secondary vm is running in colo mode. So we will do the following things again and again: 1. Resume secondary vm a. Send LIBXL_COLO_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 ri