WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] That xenstored console leak...

To: John Levon <levon@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] That xenstored console leak...
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 15 Jan 2008 13:54:24 +0000
Cc: Jim Fehlig <jfehlig@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 Jan 2008 05:55:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080115134232.GA17616@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchXfiK3YYP6z8NxEdy5ZgAX8io7RQ==
Thread-topic: [Xen-devel] That xenstored console leak...
User-agent: Microsoft-Entourage/11.3.6.070618
On 15/1/08 13:42, "John Levon" <levon@xxxxxxxxxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel