From: Keir Fraser Subject: Re: That xenstored console leak... Date: Mon, 14 Jan 2008 21:29:38 +0000 Message-ID: References: <20080114200853.GA27586@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080114200853.GA27586@totally.trollied.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon , Jim Fehlig Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 14/1/08 20:08, "John Levon" wrote: > I see the behaviour in 3.1 with HVM domains. If I live migrate twice, > then the MAC address is lost, and a new random one is generated: > > I don't have to do anything "special", this happens every time on 3.1. I > presume that the troublesome changeset fixes this exact problem. Yes, device controllers clean up by deleting /vm//path/to/device. This aliases with the new domain's device information (because they're really the same vm) and so when the old domain is cleaned up the new domain loses information. Disambiguating with an extra level of indirection seemed the simplest fix for this. I'm not sure why this leads to xenstore leaks. When a domain is finally garbage collected in xend, perhaps we should delete its entire /vm//? That would seem a nice and reasonable catch-all. -- Keir