[vfio-users] Help on IGD legacy, VBIOS and OPS HDMI
Chen Zhang
tgfbeta at icloud.com
Thu Apr 19 06:20:41 UTC 2018
Thank you for your reply.
I just followed all the corrections and run your rom-fixer and found that a VGA-configured-as-primary VBIOS dump did work after modifying device id from 0406 to the actual id.
Best regards,
On Apr 19, 2018, at 12:10 PM, Alex Williamson <alex.williamson at redhat.com> wrote:
On Thu, 19 Apr 2018 02:59:57 +0000 (GMT)
Chen Zhang <tgfbeta at icloud.com> wrote:
The arguments for kvm (qemu-2.10.1):
/usr/local/bin/qemu-system-x86_64 -name vm1 \
-nodefaults \
-machine pc,igd-passthru=on,accel=kvm,usb=off \
igd-passthru=on is only a Xen option, the QEMU help should be fixed to
clarify this.
-global PIIX4_PM.disable_s4=0 \
-global PIIX4_PM.disable_s3=1 \
-global ICH9-LPC.disable_s3=1 \
-global ICH9-LPC.disable_s4=0 \
You don't have both of these, ICH9 is only on the Q35 machine types and
PIIX4 is only on the 440FX machine types.
-enable-kvm -rtc base=localtime \
-nographic -vga none \
-m 3000m -realtime mlock=off -smp 4,sockets=1,cores=2 \
-device vfio-pci,host=00:02.0,id=hostdev0,bus=pci.0,addr=0x2,x-vga=on,x-igd-gms=6,romfile=/root/vbios1 \
x-vga=on is unnecessary when using legacy igd assignment, no harm
though.
IGD ROMs dumped via the method you linked generally include the wrong
device ID and have a bad checksum, you can use my rom-fixer tool to
correct those: https://github.com/awilliam/rom-parser This could be
the cause for no output from SeaBIOS, but I have no idea if your OPS
display output adds additional hurdles.
-drive file=/root/disks/test.img,media=disk,if=none,id=drive-c \
-device ide-hd,bus=ide.0,unit=0,drive=drive-c,bootindex=0 \
-no-user-config \
-cpu host,kvm=off
kvm=off is only necessary for NVIDIA GeForce assignment. Thanks,
Alex
_______________________________________________
vfio-users mailing list
vfio-users at redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20180419/da420e14/attachment.htm>
More information about the vfio-users
mailing list