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] Where can I find some tutorial or manual on how to use x

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Where can I find some tutorial or manual on how to use xenstore?
From: Nick Logan <nick_logan@xxxxxxxxxxxx>
Date: Wed, 28 Jun 2006 14:38:15 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, jacobg@xxxxxxx, ushuanglily@xxxxxxxxx
Delivery-date: Wed, 28 Jun 2006 06:38:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060628130526.GC26663@xxxxxxxxxxxxxxxxxxxxxx>
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: <E1Fukq5-00045x-5p@host-192-168-0-1-bcn-london> <44A26331.6060200@xxxxxxxxxxxx> <20060628130526.GC26663@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
Thanks Ewan,

See below.

Cheers,

Nick

Ewan Mellor wrote:

On Wed, Jun 28, 2006 at 12:08:33PM +0100, Nick Logan wrote:

It's certainly possible, I've used this code as the basis for a new driver, which is similar to the vbd driver. The driver starts fine but I am unable to have it participate in a domain save/restore. I guess that this is because xend is not aware of the new driver and the open devices supported by this driver and hence the driver does not receive resume calls when the domain is restored..

Is there any way that a new driver can make it's existance known to xend?

If you've managed to get the driver to start through xend, I'd be surprised if
it's xend's fault that save/restore does not work.
The driver was started outside of xend, using a varient of Jacob's buscreate program to set the necessary values in xenstore. As this a 3rd party driver, I'm looking for a solution that does not involve xm or xend changes, if that's possible. I'll take a look at the blktap patches to see if that helps.

In any case, the main driver integration point is at the bottom of
tools/python/xen/xend/XendDomainInfo.py, where you can register a subclass of
xen.xend.server.DevController.py to manage the device.  You also need to make
sure that the driver's config is parsed properly by xm.

Take a look at Julian Chesterfield and Andrew Warfield's recent blktap patches
to see how driver tool integration is done:

http://lists.xensource.com/archives/html/xen-devel/2006-06/msg00738.html

Cheers,

Ewan.


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