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] Xrenstore and many save/restore cycles...

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-devel] Xrenstore and many save/restore cycles...
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Thu, 10 May 2007 14:57:39 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir@xxxxxxxxxxxxx>
Delivery-date: Thu, 10 May 2007 08:16:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1CE4@xxxxxxxxxxxxxxxxx>
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>
References: <907625E08839C4409CE5768403633E0B018E1CE2@xxxxxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B018E1CE4@xxxxxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Thu, May 10, 2007 at 03:47:33PM +0200, Petersson, Mats wrote:
> > > -----Original Message-----
> > > From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> > > [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> > > Petersson, Mats
> > > Sent: 09 May 2007 17:50
> > > To: Keir Fraser; xen-devel@xxxxxxxxxxxxxxxxxxx
> > > Subject: RE: [Xen-devel] Xrenstore and many save/restore cycles...
> > > 
> > >  
> > > 
> > > > -----Original Message-----
> > > > From: Keir Fraser [mailto:keir@xxxxxxxxxxxxx] 
> > > > Sent: 09 May 2007 17:46
> > > > To: Petersson, Mats; xen-devel@xxxxxxxxxxxxxxxxxxx
> > > > Subject: Re: [Xen-devel] Xrenstore and many save/restore cycles...
> > > > 
> > > > On 9/5/07 17:18, "Petersson, Mats" <Mats.Petersson@xxxxxxx> wrote:
> > > > 
> > > > >> These days xenstore only needs to hold information about live
> > > > >> domains. The
> > > > >> /vm/<uuid> directory should be removed by xend once a domain
> > > > >> is completely
> > > > >> dead. It'd be great to get a patch to fix this!
> > > > > 
> > > > > Ok, I'm happy to make an attempt to fix this, but I haven't 
> > > > really got a
> > > > > clue even where to start looking to find the right place to 
> > > > remove it...
> > > > > Any hint?
> > > > 
> > > > Hmmm... Somewhere in tools/python/xen/xend is the best I can do!
> > > 
> > > I started looking there while waiting for a reply - didn't 
> > > find anything
> > > real useful, but I will look again tomorrow unless someone 
> > > comes up with
> > > a solution before then. 
> > 
> > Well, I've looked at it further, and it's not the 
> > /local/domain/foo that is left behind (or at least, that's 
> > not the first bit that comes up). 
> 
> Sorry about that, hit Send when I really didn't want to do that... 
> 
> I've looked for /vm/foo, which is very short, so that's not what is
> filling up the xenstore. 
> 
> It seems like I've got a lot of /local/domain/0/backend/console/* stuff
> tho. Not sure if I have any other .../0/backend/* stuff as well, but
> certainly there are literally thousands of consoles there.. 
> 
> Trying to locate where these are created and restored, but no success
> yet. 

If its the virtual framebuffer bits, then they're populated in a couple
of places

tools/python/xen/xend/server/vfbif.py

sets up the basic node & permissions. While in PV case, the daemon like
/usr/lib/xen/bin/xen-vncfb (or xen-sdlfb) populates the rest. Can't say
offhand where the info would be populated in the HVM case since this code
changed fairly recently & i've not checked up on its new workings.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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