[vfio-users] vfio help needed (nvidia GTX 750 Ti persistent code 43)

Alex Williamson alex.l.williamson at gmail.com
Thu Sep 17 12:59:25 UTC 2015


On Wed, Sep 16, 2015 at 5:39 PM, Mogliii <mogliii at gmx.net> wrote:

> Hello,
>
> Thank you for all the valuable input. However, the problem is not yet
> resolved.
>
> I specifically forced all the hyperv and clock options off so the nvidia
> driver hopefully does not recognize its in a vm. However, I get the same
> problem. Once the system recognized the graphics card and wants to activate
> the driver, the screen goes black and I have a loss of signal.
>
> My qemu command is (added newlines for better readability)
> # ps aux | grep kvm
>
> /usr/bin/qemu-system-x86_64 -name win81 -S
> -machine pc-i440fx-utopic,accel=kvm,usb=off
> -cpu host,kvm=off -bios /usr/share/ovmf/OVMF-pure-efi_win81.fd
> -m 4096 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1
> -uuid redacted -nographic -no-user-config -nodefaults
> -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/win81.monitor,server,nowait
>
> -mon chardev=charmonitor,id=monitor,mode=control
> -rtc base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=discard
> -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global
> PIIX4_PM.disable_s4=1
> -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x6.0x7
> -device
> ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x6
>
> -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x6.0x1
> -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x6.0x2
> -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5
> -drive
> file=/dev/main/Win7xen,if=none,id=drive-virtio-disk0,format=raw,cache=none,aio=native
> -device
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x8,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
>
> -netdev tap,fd=24,id=hostnet0,vhost=on,vhostfd=25
> -device
> virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ab:b6:10,bus=pci.0,addr=0x4
>
> -device usb-host,hostbus=1,hostaddr=2,id=hostdev0
> -device usb-host,hostbus=5,hostaddr=2,id=hostdev1
> -device usb-host,hostbus=5,hostaddr=3,id=hostdev2
> -device vfio-pci,host=01:00.0,id=hostdev3,bus=pci.0,addr=0x3
> -device vfio-pci,host=01:00.1,id=hostdev4,bus=pci.0,addr=0x9
>  -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg
> timestamp=on
>
> I can also confirm that the vfio-pci bind script is not necessary, and
> that removing "allow_unsafe_interrupts" did not change anything.
>
> I might later try switching the graphics card to bios mode.
>

Have you looked for errors in dmesg or the libvirt log file for the domain
yet?  Users with APUs generally get IOMMU faults unless they disable
hugepage support in vfio,  vfio_iommu_type1.disable_hugepages=1.  I thought
we had enough people using APU systems to not completely give up on the
platform.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20150917/0ea8ee46/attachment.htm>


More information about the vfio-users mailing list