On Thu, Dec 12, 2013 at 6:17 PM, Gerd Hoffmann <kra...@redhat.com> wrote:
> On Do, 2013-12-12 at 09:51 +1000, Dave Airlie wrote:
>> Now the vgabios.c does a check of bar 0 and bar 1 to see if they are
>> 0xfff1 masked, this protects against the the i/o bar but fails to
>> protect against the LFB one as PCI BARs don't encode the size just the
>> base address, and a 4k BAR can be aligned to a larger size.
>
>> Any ideas? I seem to remember vgabios.c had a hack in the past for
>> vmware, but I'm not sure.
>
> The fallback to bar #1 *is* the vmware hack ;)
>
> Something like the attached patch should do the trick.
>
Oh do we generate the VGABIOS from seabios now or are we going to?

I've been using the vgabios url from the pc-bios/README file

Dave.

Reply via email to