|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] [PATCH 1/2] pci: Automatically patch PCI device id in PCI ROM |
Date: | Mon, 18 Oct 2010 15:30:55 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100827 Red Hat/3.1.3-1.el6 Thunderbird/3.1.3 |
Hi,
When following this argumentation the vendor id sanity check shouldn't be there in the first place ;)The sanity check is simply there because I had no test case which patches the vendor id. How could I test with vga bios?
No trivial way as the vgabios needs to be patched to handle that.The vgabios searches for its hardware, right now the IDs are compile-time constants (same constants are compiled into the pci header). Needs to be changed to lookup the ID at runtime in the pci header.
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |