I would like to ask if I have to have drivers in kernel for domU. For example for Ethernet card. I have them in dom0 but not in domU. Is there any rule what should be or does not have to be in kernel for domU. Thank you _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I would like to ask if I have to have drivers in kernel for domU. For example for Ethernet card. I have them in dom0 but not in domU. Is there any rule what should be or does not have to be in kernel for domU. Thank you _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi> I would like to ask if I have to have drivers in kernel for domU. > For example for Ethernet card. I have them in dom0 but not in domU. > Is there any rule what should be or does not have to be in > kernel for domU.First basic rule: Keep the kernel as small as possible. Second basic role: Hardware is typically controlled by dom0. Hence, you don''t need real hardware drivers in domUs. However if you want to passthrough PCI devices, you will need their drivers in domU. Current source tarballs by default build only one kernel anyway, giving you all drivers anywhere. Regards, Steffen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Current source tarballs by default build only one kernel anyway, giving you > all drivers anywhere.Thats not entirely correct. The tarballs will make a single kernel yes, but most drivers are still compiled as modules. So you need to make sure that the appropriate /lib/modules/2.6.xx-xen directory is available in the VM file system as well, otherwise drivers compiled as modules won''t be found. Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi> > Current source tarballs by default build only one kernel anyway, > > giving you all drivers anywhere. > > Thats not entirely correct. The tarballs will make a single > kernel yes, but most drivers are still compiled as modules. > So you need to make sure that the appropriate > /lib/modules/2.6.xx-xen directory is available in the VM file > system as well, otherwise drivers compiled as modules won''t be found.You are right, but I never even thought about using a kernel without it''s lib/modules in place.... Regards, Steffen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users