From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [PATCH v6 COLO 02/15] secondary vm suspend/resume/checkpoint code Date: Tue, 16 Jun 2015 12:42:36 +0100 Message-ID: <21888.2988.774072.32946@mariner.uk.xensource.com> References: <1433735159-26739-1-git-send-email-yanghy@cn.fujitsu.com> <1433735159-26739-3-git-send-email-yanghy@cn.fujitsu.com> <20150612142334.GS14606@zion.uk.xensource.com> <557E30AD.4000804@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <557E30AD.4000804@cn.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Yang Hongyang Cc: Wei Liu , ian.campbell@citrix.com, wency@cn.fujitsu.com, andrew.cooper3@citrix.com, yunhong.jiang@intel.com, eddie.dong@intel.com, xen-devel@lists.xen.org, guijianfeng@cn.fujitsu.com, rshriram@cs.ubc.ca List-Id: xen-devel@lists.xenproject.org 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. Call libxl__checkpoint_devices_postsuspend(). > >> c. Get secondary vm's dirty page information. > >> d. Send LIBXL_COLO_SVM_SUSPENDED to master. > >> e. Send secondary vm's dirty page information to master(count + pfn list). In the pdf http://www.socc2013.org/home/program/a3-dong.pdf?attredirects=0 linked from the wiki page http://wiki.xen.org/wiki/COLO_-_Coarse_Grain_Lock_Stepping it says that the secondary keeps a copy of the original contents of its dirty pages. So I don't understand why you need to send the dirty bitmap to the primary. Thanks, Ian.