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

Re: [Xen-users] Hiding PCI devices with modprobe.d



> -----Original Message-----
> From: Gordan Bobic [mailto:gordan@xxxxxxxxxx]
> 
>  You'll find the answer and an example here:
> 
>  https://lists.wireless.org.au/pipermail/kernel-xen/2013-
> May/000241.html
> 


Super helpful, thank you. Instead of creating configurations for each 
problematic module, could I instead add a script to my pcihide.conf that 
unbinds the devices? Something like a pciback.conf of:

    install xen-pciback /usr/local/sbin/detach-pci.sh; insmod 
/path/to/the/xen-pciback.ko

(I am not near my dom0 and don't know the path) and a detach-pci.sh file of:

    echo -n "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind

Thanks for the help.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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