[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] how to PCI-passthrough 1 card to a DomU when another @ Dom0 uses the same driver?
hi, > > Did you follow the rules for doing it detailed in the VT-d howto? Just use > > the pciback instead of pci-stub in it. > i "followed the rules" for method 2 ... not at all sure why that was NOT working for me, but, the following: grep pci /boot/grub/menu.lst ... module /vmlinuz-xen ... pci=resource_aligment=0000:05:07.0;0000:02:00.0;0000:03:0.0 rm /etc/modprobe.d/99-local.conf cat /etc/init.d/boot.local #! /bin/sh DEV="0000:02:00.0 \ 0000:03:00.0 \ 0000:05:07.0 \ " for BDF in $DEV do [ ! -e /sys/bus/pci/devices/$BDF/driver/unbind ] || \ echo -n $BDF > /sys/bus/pci/devices/$BDF/driver/unbind echo -n $BDF > /sys/bus/pci/drivers/pciback/new_slot echo -n $BDF > /sys/bus/pci/drivers/pciback/bind echo -n $BDF > /sys/bus/pci/drivers/pciback/permissive done now, @ reboot, dmesg | grep -i seiz [ 33.277131] pciback 0000:02:00.0: seizing device [ 33.308782] pciback 0000:03:00.0: seizing device [ 33.358124] pciback 0000:05:07.0: seizing device apparently correctly seizes all the devices, as intended. (note the much later timestamps ...) and, in my DomU, lspci 00:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) 00:01.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 20) thanks! _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |