From: Keir Fraser Subject: Re: That xenstored console leak... Date: Tue, 15 Jan 2008 13:54:24 +0000 Message-ID: References: <20080115134232.GA17616@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080115134232.GA17616@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 Cc: Jim Fehlig , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 15/1/08 13:42, "John Levon" wrote: >> Sure. Nothing in xenstore is now supposed to persist across domain >> restarts/migrates/etc. xend stores info about managed domains in a >> separate database. All xenstore info is ephemeral. > > The VIF MAC is the perfect counter-example to this, is it not? It must > remain the same across a domain's existence, even if it's randomly > generated. How do you propose to fix the bug if you don't have /vm ? > (I'm not so sure that any of the rest of /vm is /really/ needed, > but that depends on how xend behaves on restart) Well, the VIF MAC is pickled on domain save or migration, and restored into the new /vm/ path on restore or at the migration target. It just so happens, in the localhost migration case on 3.1, that the restore path is the same as the original path. It must remain the same across a particular domain's existence, but not for the VM's existence. In that sense it is ephemeral. -- Keir