[vfio-users] IGD passthrough

Manuel Ullmann ullman.alias at posteo.de
Wed Feb 8 15:09:58 UTC 2017


Hi,

might be a stupid note, but your log says its looking on the address,
which is according to your iomem on PCI Bus 01:00.0. According to my
working VM log, the addr is set to "0x2" and bus to "pci.0". To be specific:
-device vfio-pci,host=00:02.0,id=hostdev0,bus=pci.0,addr=0x2
Maybe this helps?

Best regards,
Manuel

PS: The id is not required. I use it to alter some options on the
device. I also set x-igd-opregion=on and x-igd-gms=5, but those
shouldn’t be required for a working output.
> Hello,
>
> Still trying to pass the video from my intel hd4600 cpu to a VM with
> no
> luck. It stops in "Running option rom at c000:0003"
>
> when I launch the VM vm.log:
>
> http://pastebin.com/X7sAX2jg
>
> /proc/iomem after launching the VM
>
> http://pastebin.com/N389ps0d
>
> dmesg:
>
> http://pastebin.com/dj1g0jMi
>
> VM:
> echo 1 > /sys/module/kvm/parameters/ignore_msrs
> qemu-system-x86_64 -enable-kvm -M pc,accel=kvm -m 4096 -cpu host \
> -smp 4,sockets=1,cores=4,threads=1 \
> -vga none \
> -display none \
> -device vfio-pci,host=00:02.0,bus=pci.0,addr=02.0 \
> -drive file=/home/mv/winIGD.qcow2,cache=none,if=virtio,format=qcow2 \
> -device vfio-pci,host=0f:00.0 \
> -device vfio-pci,host=10:00.0 \
> -chardev stdio,id=seabios \
> -device isa-debugcon,iobase=0x402,chardev=seabios \
> -netdev user,id=vmnic -device virtio-net,netdev=vmnic \
>
> Thanks
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users




More information about the vfio-users mailing list