[vfio-users] KVM + QEMU + GPU passthrough (Windows7 Guest)

Jose Ramon Muñoz Pekkarinen koalinux at gmail.com
Fri Sep 25 18:48:33 UTC 2015


    Hi,

    I'm sorry to report that, at least for FM2 platform, if there is no ioh3420, it doesn't work at all, w7 and w10 stalls in the windows logo on 440fx. Well w10 doesn't work anyways, but w7 does.

    Thanks!

    José.

-----Original Message-----
From: "Francisco Menendez" <aterfelis at gmail.com>
Sent: ‎25/‎09/‎2015 01:11
To: "José Ramón Muñoz" <koalinux at gmail.com>
Cc: "vfio-users" <vfio-users at redhat.com>
Subject: Re: [vfio-users] KVM + QEMU + GPU passthrough (Windows7 Guest)

Sure, here's the final command line after the changes suggested.

qemu-system-x86_64 \
-name windows7 \
-cpu host,kvm=off \
-smp 8,sockets=1,cores=4,threads=2 \
-enable-kvm \
-machine type=pc,accel=kvm,iommu=on \
-m 16G -mem-prealloc -balloon none  \
-rtc clock=host,base=utc \
-soundhw hda \
-device vfio-pci,host=01:00.0,multifunction=on,x-vga=on \
-device vfio-pci,host=01:00.1 \
-drive file=win7.img,if=ide,format=raw,media=disk \
-monitor stdio \
-vga none -device secondary-vga \
-serial null -parallel null


On Thu, Sep 24, 2015 at 11:10 PM, José Ramón Muñoz <koalinux at gmail.com> wrote:
>         Hi,
>
>         Do you mind to share your script again? I've been using 440fx with
> ioh3420 for so long, and I'm surprised about Alex's suggestion.
>
>         Thanks!
>
>         José.
>
> On Wednesday 23 September 2015 16:15:55 you wrote:
>> Alex,
>>
>> On top of adding the arbitration patch to the kernel, I removed the
>> ovmf bios and the ioh3420 line. Worked like a charm! Thanks a lot for
>> the tip.
>>
>> Regards
>> --
>> Francisco.
>>
>>
>> On Wed, Sep 23, 2015 at 2:24 PM, Alex Williamson
>>
>> <alex.l.williamson at gmail.com> wrote:
>> > On Sep 22, 2015 11:18 PM, "Blank Field" <ihatethisfield at gmail.com> wrote:
>> >> people.redhat.com/~lersek/ovmf-whitepaper-c770f8c.txt
>> >>
>> >> Windows 7 won't output anything with ovmf until you install the drivers.
>> >> I'd recommend either using VGA or using a more modern OS.
>> >
>> > Additionally, don't use x-vga=on with ovmf and don't use ioh3420 with
>> > 440fx.
>> >
>> >
>> > _______________________________________________
>> > vfio-users mailing list
>> > vfio-users at redhat.com
>> > https://www.redhat.com/mailman/listinfo/vfio-users
>>
>> _______________________________________________
>> 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/20150925/32d0f23f/attachment.htm>


More information about the vfio-users mailing list