From: Mark Williamson Subject: Re: Trans.: Device drivers and Xend Date: Tue, 17 Oct 2006 04:48:02 +0100 Message-ID: <200610170448.03281.mark.williamson@cl.cam.ac.uk> References: <1157551826.44fed6d2a7126@imp5-g19.free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1157551826.44fed6d2a7126@imp5-g19.free.fr> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: nicko.koinkoin@free.fr List-Id: xen-devel@lists.xenproject.org Hi there, It's great that you're working on Xen. Sounds like you're making good progress. However, do you really have to use Xen 2.0.7? It's not really supported any more - the 3.x series gets all the attention these days. The main difference between the two from your point of view is probably in the control interface. The Xend parts of the code are concerned with sending control messages to domains in the right sequence so that their drivers may handshake and set up shared memory / event channel. In Xen 3.x, the Xend components of a split driver are very different and *much* simpler, but you need to use XenStore in the devices. Could you give any more detail about your device drivers? What requirements do they have? (shared memory pages, event channels, other metadata etc...) Cheers, Mark On Wednesday 06 September 2006 15:10, nicko.koinkoin@free.fr wrote: > Hi everybody > > I am currently writting a split device driver for a custom device. > > I have understood the way it works, I wrote the code (kernel module) but > currently it is static (i.e. port number) because I am not using Xend. > > And I want to use it, but I don't know how to add a new device type in > Xend, i.e. which files are needed, ... I looked at blkif.py and netif.py, I > know I have to write such a script for my new device, but what are the > classes/object that must be present, the same for the methods ? > > Also how do I set up a virtual custom device for the domains > (XendDomainInfo.py ?) ? > > In fact I search for a manual describing in details Xend, like a HowTo Xend > device drivers, what I didn't find in the ML. I am using xen-2.0.7, so I > think there is no XenBus and XenStore. > > If somebody can give me advice. > > Thanks. > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!