<div dir="ltr">I believe it's only needed to check if your video card bios supports UEFI with rom-parser. You can optionally pass it to qemu, but I haven't needed to.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 26, 2016 at 3:54 AM, Daniel Pocock <span dir="ltr"><<a href="mailto:daniel@pocock.pro" target="_blank">daniel@pocock.pro</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
In which cases are these ROMs actually needed? For example, is the ROM<br>
needed if the passthrough video device is secondary display? Is the ROM<br>
needed if using UEFI / OVMF instead of SeaBIOS?<br>
<br>
I've extracted ROMs from each GPU using the method:<br>
<br>
  find /sys/devices -name rom<br>
<br>
to discover the devices with a ROM.  For the device I want to use, I've<br>
used something like the following to extract the ROM (based on the paths<br>
found by the find command):<br>
<br>
<br>
ROM=/sys/devices/pci0000\:40/0000\:40\:03.0/0000\:42\:00.0/rom<br>
<br>
echo 1 | tee "${ROM}"<br>
cat "${ROM}" > my-vga-device.rom<br>
<br>
I've also read that some devices modify a copy of their ROM data during<br>
boot.  Does the method described above access the original ROM content<br>
or the modified content?  If it is accessing modified content, is there<br>
a way to get the original ROM content, either generically or in a method<br>
specific to each vendor?<br>
<br>
<br>
_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
</blockquote></div><br></div>