[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] libxl: error: libxl_pci.c:1477:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:01:00.1
Hello
So,please come back to the passthrough of my graphic card with xen,that it does not work. Please note that I'm not trying to use my existing windows 10 installation anymore. Instead I have installed windows 10 from the official microsoft iso image. The cfg file that I'm using is like this : builder='hvm' memory = 8124 name = 'win10' vcpus=6 pae=1 acpi=1 apic=1 vif = [ 'mac=00:16:3e:68:e1:01,type=vif,bridge=xenbr0' ] disk = [ 'phy:/dev/guest/win10,hda,w' , 'file:/media/install/Win10x64.iso,hdb:cdrom,r' ] #device_model_version = 'qemu-xen-traditional' boot='dc' #boot='c' sdl=1 vnc=1 serial='pty' tsc_mode="default" viridian=1 usb=1 usbdevice='tablet' gfx_passthru=0 pci=[ '01:00.0', '01:00.1' , '01:00.2' , '01:00.3' ] localtime=1 xen_platform_pci=1 pci_power_mgmt=1 stdvga = 0 serial = 'pty' _on_poweroff_ = 'destroy' on_reboot = 'destroy' on_crash = 'destroy' device_model_args_hvm = [ # Debug OVMF '-chardev', 'file,id=debugcon,path=/etc/xen/win10.log,', '-device', 'isa-debugcon,iobase=0x402,chardev=debugcon', ] Before to create the guest,I run this script : if [ $# -eq 0 ]; then echo "Require PCI devices in format: <domain>:<bus>:<slot>.<function>" echo "Eg: $(basename $0) 0000:00:1b.0" exit 1 fi modprobe xen-pciback for pcidev in $@; do if [ -h /sys/bus/pci/devices/"$pcidev"/driver ]; then echo "Unbinding $pcidev from" $(basename $(readlink /sys/bus/pci/devices/"$pcidev"/driver)) echo -n "$pcidev" > /sys/bus/pci/devices/"$pcidev"/driver/unbind fi echo "Binding $pcidev to pciback" echo -n "$pcidev" > /sys/bus/pci/drivers/pciback/new_slot echo -n "$pcidev" > /sys/bus/pci/drivers/pciback/bind done for 4 times,like this : root@ziomario-I9:/etc/xen# ./pciback-0000:01:00.0.sh 0000:01:00.0 Unbinding 0000:01:00.0 from nvidia Binding 0000:01:00.0 to pciback root@ziomario-I9:/etc/xen# ./pciback-0000:01:00.0.sh 0000:01:00.1 Unbinding 0000:01:00.1 from snd_hda_intel Binding 0000:01:00.1 to pciback root@ziomario-I9:/etc/xen# ./pciback-0000:01:00.0.sh 0000:01:00.2 Unbinding 0000:01:00.2 from xhci_hcd Binding 0000:01:00.2 to pciback root@ziomario-I9:/etc/xen# ./pciback-0000:01:00.0.sh 0000:01:00.3 Unbinding 0000:01:00.3 from nvidia-gpu Binding 0000:01:00.3 to pciback it seems good,but It is not,infact this is what happens when I create the guest : libxl: error: libxl_pci.c:1477:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:01:00.1 libxl: error: libxl_pci.c:1477:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:01:00.2 libxl: error: libxl_pci.c:1477:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:01:00.3 I tried to pass only the first line,like this : pci=[ '01:00.0' ] the guest starts,but : 1) the resolution is black and white,640x480 and I can't increase it 2) the nvidia graphic card can't be installed,it says that it can't be installed on this computer 3) I see two microsoft basic display adapter,no cirrus graphic card. can u give me some suggestion ?
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |