MT Rezaie
2007-Aug-13 14:36 UTC
[Xen-devel] Howto embed Network Driver from Linux source tree into xen-hypervisor!
Hi every one! This is my problem: 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?) 2. For that purpose I choosed to use e1000 driver from Linux''s source tree. (CAN SOME ONE GET ME DIRECTIONS FOR DOING THIS!) -- Best Regards Rezaie Iran University of Science and Technology Department of Computer Science & Engineering System Software Group _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2007-Aug-13 17:51 UTC
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@lists.xensource.com http://lists.xensource.com/xen-devel
MT Rezaie
2007-Aug-14 06:43 UTC
Re: [Xen-devel] Howto embed Network Driver from Linux source tree into xen-hypervisor!
Thank you Mark, I will watch that 1.x series. I asked my question because "I am trying to build Virtual NUMA Machine with xen on top of some x86 pcs, in this distributed Single system image machine only kernel (Linux) itself needs to have NUMA scheduler and I need only provide that image" (as you can find in VNUMA project but it was only on itanium and not using xen). For this, I need really low latency network driver and I thought it''s best to not add overhead of switching between rings. I am really thankful if some one help me how can I decide how to do this decision. best regards rezaie _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel