On Thu, 19 Apr 2018 02:59:57 +0000 (GMT) Chen Zhang <[email protected]> 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 [email protected] https://www.redhat.com/mailman/listinfo/vfio-users
