From: Ian Jackson Subject: Re: [RFC PATCH COLO v5 03/29] tools: libxl: introduce a new API libxl__domain_restore() to read qemu state Date: Wed, 15 Apr 2015 14:19:21 +0100 Message-ID: <21806.25945.541380.737460@mariner.uk.xensource.com> References: <1427870525-18686-1-git-send-email-yanghy@cn.fujitsu.com> <1427870525-18686-4-git-send-email-yanghy@cn.fujitsu.com> <20150408181157.GR30811@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150408181157.GR30811@zion.uk.xensource.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: Wei Liu Cc: ian.campbell@citrix.com, wency@cn.fujitsu.com, yunhong.jiang@intel.com, eddie.dong@intel.com, xen-devel@lists.xen.org, rshriram@cs.ubc.ca, Yang Hongyang List-Id: xen-devel@lists.xenproject.org Wei Liu writes ("Re: [RFC PATCH COLO v5 03/29] tools: libxl: introduce a new API libxl__domain_restore() to read qemu state"): > On Wed, Apr 01, 2015 at 02:41:39PM +0800, Yang Hongyang wrote: > > + case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN: > > + /* > > + * This function may be called too many times for the same gc, > > + * so we use NOGC, and free the memory before return to avoid > > + * OOM. > > + */ > > Hmm... I agree that this is doubtful. The underlying problem is that in remus a migration send, as well as a migration receive, are long-running. I think more thought needs to be given to this area. It may be necessary to introduce a nested ao. Ian.