From: Keir Fraser Subject: Re: Re: Xend transaction reduction breaks migration Date: Thu, 15 Nov 2007 22:11:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 15/11/07 18:46, "Keir Fraser" wrote: > On 15/11/07 18:39, "Daniel P. Berrange" wrote: > >> all happen in one large transaction. Oddly though, I tried to be careful so >> that I only changed the codepath for the 'xm list' operation (well the SEXPR >> call to the list operation). Other operations like create, save, restore >> ought to be left using fine grained transactions as before. > > I'll have another look at nearby changesets in xen-unstable then. Yours > doesn't really look all that likely to cause this problem, except that the > empirical evidence does point at it. It is your patch. The readDomTxn() functions and friends should prepend the dompath, not the vmpath. We wouldn't notice this normally since self.console_port is not actually really used after domain building. So we have to race the migration thread to get the assertion to fire, and that happens fairly rarely. -- Keir