From: Wei Liu Subject: Re: [PATCH v2 COLOPre 13/13] tools/libxl: don't touch remus in checkpoint_device Date: Fri, 12 Jun 2015 14:28:57 +0100 Message-ID: <20150612132857.GP14606@zion.uk.xensource.com> References: <1433734997-26570-1-git-send-email-yanghy@cn.fujitsu.com> <1433734997-26570-14-git-send-email-yanghy@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1433734997-26570-14-git-send-email-yanghy@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.liu2@citrix.com, 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, ian.jackson@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, Jun 08, 2015 at 11:43:17AM +0800, Yang Hongyang wrote: > Checkpoint device is an abstract layer to do checkpoint. > COLO can also use it to do checkpoint. But there are > still some codes in checkpoint device which touch remus: > 1. remus_ops: we use remus ops directly in checkpoint > device. Store it in checkpoint device state. > 2. concrete layer's private member: add a new structure > remus state, and move them to remus state. > 3. init/cleanup device subkind: we call (init|cleanup)_subkind_nic > and (init|cleanup)_subkind_drbd_disk directly in checkpoint > device. Call them before calling libxl__checkpoint_devices_setup() > or after calling libxl__checkpoint_devices_teardown(). > >From the look of it this patch is mostly refactoring and doesn't involve functional changes, right? If so please state that in commit message. I suppose this needs review from remus maintainer. Wei.