From: Ian Jackson Subject: Re: [PATCH] libxl: Rewind toolstack_save_fd in libxl_save_helper when using remus Date: Mon, 23 Jun 2014 18:01:24 +0100 Message-ID: <21416.23908.872811.835399@mariner.uk.xensource.com> References: <1403247574-14304-1-git-send-email-yanghy@cn.fujitsu.com> <53A42DF8.6040404@aero.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53A42DF8.6040404@aero.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jason Andryuk Cc: Andrew Cooper , Yang Hongyang , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Jason Andryuk writes ("Re: [PATCH] libxl: Rewind toolstack_save_fd in libxl_save_helper when using remus"): > On 6/20/2014 2:59 AM, Yang Hongyang wrote: > > commit(b327a3f421bb57d262b7d1fb3c43b710852b103b) move the rewinding > > of toolstack_save_fd to libxl, this breaks remus, because in remus > > mode, toolstack_save_cb will be called in every checkpoint, if > > we don't rewind it in libxl_save_helper, it will surely encounted > > error. > > > > I know this fix is just a hack, in fact the whole toolstack save > > thing should be done in libxl. But this fix should solve Jason's > > case and remus thing. Until migration v2 is upstreamed, this fix > > should be fine. > > > > Signed-off-by: Yang Hongyang > > CC: Jason Andryuk > > CC: Andrew Cooper > > CC: Ian Jackson > > Whoops, I didn't realize I broke Remus. > > A quick test has migration still working for me. Thanks to Yang Hongyang for the patch, to Andrew for the review, and Jason for the test. I have applied it. I reworded the commit message. Regards, Ian.