I checked dmesg on the host and when I boot up the VM I’m getting the following:
[ +1.471291] vfio-pci 0000:01:00.0: Invalid PCI ROM header signature:
expecting 0xaa55, got 0xffff
[ +0.000031] vfio-pci 0000:01:00.0: Invalid PCI ROM header signature:
expecting 0xaa55, got 0xffff
I’m guessing probably a ROM issue with the 770 and UEFI?
I did try downloading a different rom file and using that. I checked it with
the rom-parser from the VFIO blog and the output was the following:
Valid ROM signature found @600h, PCIR offset 190h
PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 1184, class: 030000
PCIR: revision 0, vendor revision: 1
Valid ROM signature found @fa00h, PCIR offset 1ch
PCIR: type 3 (EFI), vendor: 10de, device: 1184, class: 030000
PCIR: revision 3, vendor revision: 0
EFI: Signature Valid, Subsystem: Boot, Machine: X64
Last image
Also I edited my xml to reflect the new rom file:
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</source>
<rom file='/tank/virtual_machines/EVGA.GTX770.2048.130521.rom'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
</source>
<rom file='/tank/virtual_machines/EVGA.GTX770.2048.130521.rom'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x0'/>
</hostdev>
Now I no longer receive anything in dmesg on the host but still code 43. I also
don’t believe the GPU is being claimed by drivers in the host, output of lspci
on host always shows Kernel driver in use: vfio-pci. I was able to successfully
pass through an AMD RX460, but would still like to see my GTX770 through if
it’s possible.
Anything else I should check? Thanks.
Tom
> On Mar 26, 2017, at 10:18 AM, Alex Williamson <[email protected]>
> wrote:
>
> On Sat, Mar 25, 2017 at 1:12 PM, Tom Smithhisler <[email protected]
> <mailto:[email protected]>> wrote:
> Hello,
>
> 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.
>
>
> This XML looks good to me, are you perhaps trying to assign the host primary
> graphics or letting the device be claimed by drivers in the host? Anything
> in dmesg on the host? Thanks,
>
> Alex
_______________________________________________
vfio-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/vfio-users