<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">I’m trying to work through yet another Code 43 error. I’ve followed Alex Williamson’s VFIO blog to try to pass through my GPU to a guest. My GPU is an NVIDIA GTX 770 and the guest is Windows 10. My host is Fedora 25 and I’m using the vfio-pci driver. I’ve manually installed the latest NVIDIA driver (378.92) from their website.</div><div class=""><br class=""></div><div class="">Here is my .xml for the virtual machine:</div><div class=""><br class=""></div><div class=""><div class=""><!--</div><div class="">WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE</div><div class="">OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:</div><div class="">  virsh edit win10</div><div class="">or other application using the libvirt API.</div><div class="">--></div><div class=""><br class=""></div><div class=""><domain type='kvm'></div><div class="">  <name>win10</name></div><div class="">  <uuid>38ee0033-55ff-4ef9-8e95-359e7cf4502f</uuid></div><div class="">  <memory unit='KiB'>4194304</memory></div><div class="">  <currentMemory unit='KiB'>4194304</currentMemory></div><div class="">  <vcpu placement='static'>4</vcpu></div><div class="">  <os></div><div class="">    <type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type></div><div class="">    <loader readonly='yes' type='pflash'>/usr/share/edk2/ovmf/OVMF_CODE.fd</loader></div><div class="">    <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram></div><div class="">    <boot dev='hd'/></div><div class="">  </os></div><div class="">  <features></div><div class="">    <acpi/></div><div class="">    <apic/></div><div class="">    <hyperv></div><div class="">      <vendor_id state='on' value='KeenlyKVM'/></div><div class="">    </hyperv></div><div class="">    <kvm></div><div class="">      <hidden state='on'/></div><div class="">    </kvm></div><div class="">    <vmport state='off'/></div><div class="">  </features></div><div class="">  <cpu mode='host-passthrough'/></div><div class="">  <clock offset='localtime'></div><div class="">    <timer name='rtc' tickpolicy='catchup'/></div><div class="">    <timer name='pit' tickpolicy='delay'/></div><div class="">    <timer name='hpet' present='no'/></div><div class="">  </clock></div><div class="">  <on_poweroff>destroy</on_poweroff></div><div class="">  <on_reboot>restart</on_reboot></div><div class="">  <on_crash>destroy</on_crash></div><div class="">  <pm></div><div class="">    <suspend-to-mem enabled='no'/></div><div class="">    <suspend-to-disk enabled='no'/></div><div class="">  </pm></div><div class="">  <devices></div><div class="">    <emulator>/usr/bin/qemu-kvm</emulator></div><div class="">    <disk type='file' device='disk'></div><div class="">      <driver name='qemu' type='raw'/></div><div class="">      <source file='/tank/virtual_machines/win10.img'/></div><div class="">      <target dev='vda' bus='virtio'/></div><div class="">      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/></div><div class="">    </disk></div><div class="">    <controller type='usb' index='0' model='ich9-ehci1'></div><div class="">      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/></div><div class="">    </controller></div><div class="">    <controller type='usb' index='0' model='ich9-uhci1'></div><div class="">      <master startport='0'/></div><div class="">      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/></div><div class="">    </controller></div><div class="">    <controller type='usb' index='0' model='ich9-uhci2'></div><div class="">      <master startport='2'/></div><div class="">      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/></div><div class="">    </controller></div><div class="">    <controller type='usb' index='0' model='ich9-uhci3'></div><div class="">      <master startport='4'/></div><div class="">      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/></div><div class="">    </controller></div><div class="">    <controller type='pci' index='0' model='pci-root'/></div><div class="">    <controller type='virtio-serial' index='0'></div><div class="">      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/></div><div class="">    </controller></div><div class="">    <interface type='direct'></div><div class="">      <mac address='52:54:00:51:31:f6'/></div><div class="">      <source dev='eno1' mode='bridge'/></div><div class="">      <model type='rtl8139'/></div><div class="">      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/></div><div class="">    </interface></div><div class="">    <input type='mouse' bus='ps2'/></div><div class="">    <input type='keyboard' bus='ps2'/></div><div class="">    <hostdev mode='subsystem' type='pci' managed='yes'></div><div class="">      <source></div><div class="">        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/></div><div class="">      </source></div><div class="">      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/></div><div class="">    </hostdev></div><div class="">    <hostdev mode='subsystem' type='pci' managed='yes'></div><div class="">      <source></div><div class="">        <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/></div><div class="">      </source></div><div class="">      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/></div><div class="">    </hostdev></div><div class="">    <memballoon model='virtio'></div><div class="">      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/></div><div class="">    </memballoon></div><div class="">  </devices></div><div class=""></domain></div></div><div class=""><br class=""></div><div class="">Also, from the end of my /var/log/libvirt/qemu/win10.log:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2017-03-25 18:38:27.258+0000: starting up libvirt version: 2.2.0, package: 2.fc25 (Fedora Project, 2016-11-14-21:04:29, <a href="http://buildvm-25.phx2.fedoraproject.org" class="">buildvm-25.phx2.fedoraproject.org</a>), qemu version: 2.7.1(qemu-2.7.1-4.fc25), hostname: sv1</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -name guest=win10,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-9-win10/master-key.aes -machine pc-i440fx-2.7,accel=kvm,usb=off,vmport=off -cpu host,hv_vendor_id=KeenlyKVM,kvm=off -drive file=/usr/share/edk2/ovmf/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on -drive file=/var/lib/libvirt/qemu/nvram/win10_VARS.fd,if=pflash,format=raw,unit=1 -m 4096 -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -uuid 38ee0033-55ff-4ef9-8e95-359e7cf4502f -display none -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-9-win10/monitor.sock,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=/tank/virtual_machines/win10.img,format=raw,if=none,id=drive-virtio-disk0 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=26,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:51:31:f6,bus=pci.0,addr=0x3 -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x2 -device vfio-pci,host=01:00.1,id=hostdev1,bus=pci.0,addr=0x4 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -msg timestamp=on</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Domain id=9 is tainted: host-cpu</span></div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div class="">Could the last line of that log be leading to anything causing this code 43? Is there anything else I could be missing?</div><div class=""><br class=""></div><div class="">Thanks in advance.</div><div class=""><br class=""></div><div class="">--</div><div class="">Tom Smithhisler</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>