[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] correct config file to start PCI passthrough
Hello Frank, On Sat, Nov 23, Frank wrote: > In Xen 4.3, Debian linux Wheezy/Sid, I am using the command: > xl pci-assignable-add 04:00.0 > To start sharing of my ethernet card to my gateway DomU. > > This works fine but I am not sure where the command should be executed on > startup. > Is there a standard script for these commands to allow PCI passthrough before > the > DomUs are restored by xl? > > I have tried adding it to the /etc/init.d/xen file under the > xend_start() and xend_restart() functions, after "xend_start_real" you can insert that option in a file /etc/modprobe.d/xen_pciback.conf which contains "options xen-pciback hide=(04:00.0)" And be sure that dom0 doesn't load the ethernet driver. something like "blacklist drivermodule" where drivermodule is the name of ethernet driver you want to passthrough. Then you have to execute "depmod -a" and reboot the system. To add the ethernet card to a domU automaticly you have to add a line like: "pci = [ '04:00.0']" to your DomU config. Hope that helps -- Best regards Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the From field. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |