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] Trans.: Device drivers and Xend

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Trans.: Device drivers and Xend
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 17 Oct 2006 04:48:02 +0100
Cc: nicko.koinkoin@xxxxxxx
Delivery-date: Mon, 16 Oct 2006 20:48:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1157551826.44fed6d2a7126@xxxxxxxxxxxxxxxx>
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: <1157551826.44fed6d2a7126@xxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
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@xxxxxxx 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@xxxxxxxxxxxxxxxxxxx
> 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!

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

<Prev in Thread] Current Thread [Next in Thread>