<div dir="ltr"><div dir="ltr">reply link:  <a href="https://www.redhat.com/archives/vfio-users/2018-August/msg00033.html">https://www.redhat.com/archives/vfio-users/2018-August/msg00033.html</a><br></div></div><br><div class="gmail_quote"><div dir="ltr">Acewind <<a href="mailto:acewind@gmail.com">acewind@gmail.com</a>> 于2018年10月12日周五 下午11:17写道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I remeber your reply here:  <a href="https://www.mail-archive.com/vfio-users@redhat.com/msg03415.html" target="_blank">https://www.mail-archive.com/vfio-users@redhat.com/msg03415.html</a></div><div dir="ltr">You said QEMU will fix the rom with correct device id automatically when it's reading the rom directly from the device.</div><div dir="ltr"><br></div><div dir="ltr">In today's env, the host is already booted in legacy mode. Do I still need to dump the rom and fix the device id?</div><div dir="ltr"><br></div><div dir="ltr">If I need, can I dump with these commands?</div><div dir="ltr">    echo 1 > /sys/devices/pci0000:00/0000:00:02.0/rom</div><div dir="ltr">    cat /sys/devices/pci0000:00/0000:00:02.0/rom > vbios.dump</div><div dir="ltr">    echo 0 > /sys/devices/pci0000:00/0000:00:02.0/rom</div><div dir="ltr"><br></div><div>Thanks!</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">Alex Williamson <<a href="mailto:alex.williamson@redhat.com" target="_blank">alex.williamson@redhat.com</a>> 于2018年10月12日周五 下午10:47写道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 12 Oct 2018 17:41:42 +0800<br>
Acewind <<a href="mailto:acewind@gmail.com" target="_blank">acewind@gmail.com</a>> wrote:<br>
<br>
> The two cpus all both SkyLake arch.<br>
> <br>
> I have successed to passthrough IGD device to Win7/Win10 on an  i3-6100<br>
> machine with Fedora 25.<br>
> I use legacy mode and set x-igd-gms=1 on qemu command line.<br>
> <br>
> When I work on another machine of i3-6100U with the same solution.<br>
<br>
You might try configuring the host BIOS to boot into legacy mode<br>
(non-UEFI) and use a live CD to get the legacy mode video BIOS from<br>
IGD.  You'll need to run rom-fixer on it to correct the checksum and<br>
device ID.  Then use the rom file option in libvirt xml to pass this<br>
image to the VM.  I've had this help before when the host system boots<br>
via UEFI natively.  Thanks,<br>
<br>
Alex<br>
</blockquote></div>
</blockquote></div>