|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] vgabios + qemu: issues and plans. |
Date: | Thu, 06 May 2010 13:08:41 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 |
First, I'd like to be able to load the vgabios via PCI ROM bar on all pci vga cards (stdvga, vmware, soon qxl). The PCI ID in the bios has to match the PCI ID of the card, so we'll need a bunch of vga bios binaries, all identical except for the PCI ID. Or we need some kind of binary patching. Otherwise seabios will not load them from the PCI ROM bar.Make vga bios aware of all ids?
Would work for the code doing the lfb address lookup. But I don't think the PCI option rom header allows multiple entries.
I also want to eliminate the magic number. Boch vga bios is paravirtualized to get VBE address dynamically via a new pci device with special pci device of device id 0x1234.
0x1234 happens to be the vendor id the qemu stdvga has. Probably the same is true for bochs. So this code actually looks up the emulated vga card ;)
Are you meaning to follow bochs way?
Yes. cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |