[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Howto embed Network Driver from Linux source tree into xen-hypervisor!



> 1. For enabling to xen-hypervisors from different computers, to
> communicate from Ethernet (Without the help from other rings on top of
> it), I think I need integrate a network driver into xen itself. (IS
> THIS THE CORRECT SOLUTION?)

Xen used to have ethernet drivers built into the hypervisor itself in the 1.x 
series, but this got dropped since the Xen 2 release.  I'd have thought it'd 
be somewhat undesirable to try to put this back in there...  Especially since 
a load of the PCI code has moved to dom0 as well now.

What are you actually trying to achieve?  Are you sure you can't do this from 
dom0?  e.g. run a daemon in each dom0 communicating with Xen by hypercalls or 
ring buffers, and then use normal Linux networking?  I'd have thought that'd 
be a cleaner solution too.

Of course, what is best does rather depend on what you're trying to do ;-)

> 2. For that purpose I choosed to use e1000 driver from Linux's source
> tree. (CAN SOME ONE GET ME DIRECTIONS FOR DOING THIS!)

You could take a look at some of the older releases of Xen to see how PCI and 
network code used to be part of the hypervisor.  I'd recommend avoiding doing 
that though!

Cheers,
Mark

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.