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-users

[Xen-users] RE: RE: can XEN be extended ?

You are not getting what i am trying to ask..

The drivers which we want to add retrieves additional hardware info from the
system like for instance fan speed. 
Here i am not asking how to write drivers, Drivers are already developed
here but at the moment they are supported on Windows OS by retreieving
additional info from WMI(which WMI doesnt retrieve itself) in windows.

So similarly, we want to include those drivers in Linux or Xen (which ever
is appropriate) to retrieve those additional info like fan speed, sys temp n
all.

At the moment i am not sure about what all drivers we want to add but that
doesnt really matter as my question is just to know wether we can add our
own drivers or not ? If yes then is there any SDK for XEN or how can we
achieve that.

Its just a beginning of the coming project. So its just a simple research.I
am asking this in advance so that i dont waste many days or month getting
around with a area which is not possible.

I dont care if there are loads of drivers available, thats really not am
looking for at the moment. Obviously we are not going to add drivers which
are already there. So i have got a limited info at the moment and which is
quite much to ask this question.

If it is not possible by any means or you dont know anything about it at the
moment then be clear. 

Because i have googled but i cant find any related info. So it is just a
simple research of the area which could be my project later.

Thanks 


Petersson, Mats wrote:
> 
>  
> 
>> -----Original Message-----
>> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
>> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of anant
>> Sent: 26 January 2007 13:58
>> To: xen-users@xxxxxxxxxxxxxxxxxxx
>> Subject: [Xen-users] RE: can XEN be extended ?
>> 
>> 
>> OK
>> I got your point as you said xen doesnt include any drivers 
>> excpt the 3
>> drivers you mentioned. So the xen uses all other drivers from host. 
>> So now there must be a way to add drivers to host which is 
>> also accepted by
>> Xen. Any SDK where you can write drivers for Xen.  
>> I am looking for something like that. Well at the moment it is quite
>> difficult to say for me what exact drivers we are looking to include.
>> But the main point is can we add our own drivers or not. Like 
>> xen is an open
>> project so if one takes the source code and do some 
>> modification to include
>> extra functionality. Can that be achieved, if yes then under what
>> environment, what language, and all....
> 
> Ok, so writing new (or modifying existing) drivers is not really the
> subject for this mailing list. 
> 
> You can write drivers in ANY language that has a few features, but I'm
> not aware of any drivers that are written in a different language than C
> (perhaps some C++). 
> 
> The drivers don't need to be "accepted by Xen". They need to work in
> Dom0, which means that they need to contain the correct functions that
> are exported by the Dom0 kernel. 
> 
> When I said "What you want to do?", I get the feeling that you're asking
> questions about "the current problem as you see it".
> 
> For example, if you have a puncture on your car, you may walk into a
> local garage and ask "How do I loosen a wheel-nut?", only to five
> minutes later say "How do I use the lift the car up so I can remove the
> wheel?" and eventually, "How do I get the spare wheel out of the boot?".
> If instead, you come out with "I've got a puncture, and I don't really
> know how to fix it", you may be able to get more concrete advice on how
> to fix it "in one go" - and perhaps also an alternative
> solution/suggestion (such as "Here's some pressurized gas with some guey
> gunk that you can fill your wheel up with, and it'll hold for about a
> day 'til you can get to a workshop that can fix it properly"). 
> 
> So I want to know what the REAL problem is that you think you need to
> write a driver to solve, rather than explain how you write a driver. 
> 
> Note also that a standard Linux distribution comes with an awfull lot of
> drivers, so I'd be very surprised if you can come up with any device
> that isn't already supported (aside from some graphics cards and WiFi
> network adapters, that tend to have "no specification", which means that
> it's between hard and impossible to write drivers for them without being
> inside the company that provides that hardware). [And if you're not
> intending to spend ten to twenty man-years on writing drivers, I'd
> suggest that you find a differnet graphics card if that's what's causing
> your problems - it's a cheaper and easier solution by any measure]. 
> 
> --
> Mats
>> 
>> I might be wrong in my assumption so do correct me if am 
>> thinking in wrong
>> direction.
>> 
>> Thanks for the reply.
>> 
>> -- 
>> View this message in context: 
>> http://www.nabble.com/can-XEN-be-extended---tf3097151.html#a8651094
>> Sent from the Xen - User mailing list archive at Nabble.com.
>> 
>> 
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>> 
>> 
>> 
> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/can-XEN-be-extended---tf3097151.html#a8689513
Sent from the Xen - User mailing list archive at Nabble.com.


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