|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] How to add additional drivers to xen-kernel ?
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of anant
> Sent: 31 January 2007 16:21
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] How to add additional drivers to xen-kernel ?
>
>
> HI
> I am bit curious to know how can we add additional drivers to
> xen-kernel...
> Is it like first we have to write drivers for linux and then
> add xen patches
> to it.
> If this is the way then how to add xen patches to it ?
> Any good link discribing this issue would be of great help. I
> cant find
> anything useful after googling it...
For a majority of simple drivers, the driver itself needs NO changes at
all (there are differences in several header files and files that
contain code that is CALLED by the driver, but you don't need to worry
about that if you're writing your own driver - only if you're modifying
the behaviour of the Kernel sources or some such). Only drivers that do
more complicated things would need patching.
To see which drivers are involved with this, look at the
.../linux-2.6-xen-sparse/drivers to see which drivers have been changed
and compare (diff) with .../pristine-linux-2.6.x/drivers - you'll then
see what's actually changed between the Xen drivers and the native Linux
drivers. Note that there's no hwmon driver directory at all, so the
hwmon drivers don't need any changes (or at least, no one has made
changes to them - they may all be broken for Xen of course).
--
Mats
>
> thanks in advance
>
> tschuess...
> --
> View this message in context:
> http://www.nabble.com/How-to-add-additional-drivers-to-xen-ker
> nel---tf3149634.html#a8732110
> 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
|
|
|
|
|