If I had to compile special ethernet and SATA drivers in the dom0, does the domU need the same drivers? Thanks, Greg _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jayson Vantuyl
2007-Mar-06 04:58 UTC
Re: [Xen-users] Drivers needed in both dom0 and domU?
No, you shouldn''t need to. In your DomU, you provide the netfront and blockfront drivers. The picture is something like this: Special Ethernet Driver (Dom0, real eth0) <--> Net Back (Dom0, vifX. 0) <--> Xen Hypervisor <--> NetFront (DomU, paravirtualized as eth0) Special Block Driver (Dom0, real /dev/device) <--> Block Back (Dom0) <--> Hypervisor <--> Block Front (DomU, paravirtualized as /dev/hda1) On Mar 5, 2007, at 9:50 PM, Gregory Gee wrote:> > If I had to compile special ethernet and SATA drivers in the dom0, > does the domU need the same drivers? > > Thanks, > Greg > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Jayson Vantuyl Systems Architect Engine Yard jvantuyl@engineyard.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Mar-06 12:52 UTC
Re: [Xen-users] Drivers needed in both dom0 and domU?
> If I had to compile special ethernet and SATA drivers in the dom0, > does the domU need the same drivers?Nope, you''re fine, domain 0 abstracts the real devices into virtual devices for sharing with the domUs. If it''s a PV domU then it''ll get disk / net access via the standard Xen-aware frontend drivers (also the case for HVM guests with PV drivers installed). FV domUs will just see the emulated devices ("common denominator" disk and network devices) and talk to those. The only reason a domain other than dom0 would need special drivers for your hardware is if you were assigning exclusive direct ownership of the PCI device to that domain; most users don''t want to do this. 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-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users