Well, something isn't working now. I'm seeing this after loading the VM: qemu-system-x86_64: vfio-pci: Cannot read device rom at 0000:00:02.0
Device option ROM contents are probably invalid (check dmesg). Skip option ROM probe with rombar=0, or load from file with romfile= On Wed, Aug 12, 2020 at 3:32 PM Alex Williamson <alex.william...@redhat.com> wrote: > On Wed, 12 Aug 2020 15:21:31 -0700 > kram threetwoone <kram...@gmail.com> wrote: > > > Sure Alex, thanks for taking a look. Let me know if there's anything > else > > you want to see. It is a shell script and I get the same errors if I run > > as user or root. > > > > #!/bin/bash > > qemu-system-x86_64 \ > > -enable-kvm \ > > -machine q35 \ > > -cpu host \ > > -nographic \ > > -vga none \ > > -device intel-iommu \ > ^^^^^^^^^^^^^^^^^^^^^ Remove this line > > > -device vfio-pci,host=00:02.0,multifunction=on \ > ^^^^^^^^^^^^^^^^^ ?? > > multifunction=on doesn't do much unless an addr= value is specified for > the device and another device to appear in the same slot. > > > -device vfio-pci,host=00:0e.0 \ > > -drive > if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF_CODE.fd > > \ > > -drive if=pflash,format=raw,file=/home/admin/myvars.fd \ > > -device vfio-pci,host=00:02.0 \ > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > IGD is listed twice, that plus intel-iommu might explain the error. > > > -net nic \ > > /home/admin/kodi_drive.img > > In order to trigger legacy mode IGD assignment, the IGD device needs to > be placed into addr=2.0 I thought it was also still the case that > legacy mode doesn't work with q35 or OVMF. UPT (universal passthrough > mode) was originally meant to be only a secondary graphics, maybe > that's what you're going for? Probably need that i915 OVMF ROM that > Jeff pointed to for using it as primary VM graphics (I've never tried > it). Thanks, > > Alex > >
_______________________________________________ vfio-users mailing list vfio-users@redhat.com https://www.redhat.com/mailman/listinfo/vfio-users