summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-10-19 23:08:21 +0200
committerMichael S. Tsirkin <mst@redhat.com>2010-11-22 10:00:07 +0200
commit6e3305fabca64de4d80ce31b454b9b03c3b296c2 (patch)
tree73a620da19278e68fe06b019e4bd07fb8a270097 /Makefile
parent87d1dfe933091b95a51537a0e5390f53fc228815 (diff)
downloadqemu-6e3305fabca64de4d80ce31b454b9b03c3b296c2.tar.gz
qemu-6e3305fabca64de4d80ce31b454b9b03c3b296c2.tar.bz2
qemu-6e3305fabca64de4d80ce31b454b9b03c3b296c2.zip
pci: Automatically patch PCI vendor id and device id in PCI ROM
PCI devices with different vendor or device ids sometimes share the same rom code. Only the ids and the checksum differs in a boot rom for such devices. The i825xx ethernet controller family is a typical example which is implemented in hw/eepro100.c. It uses at least 3 different device ids, so normally 3 boot roms would be needed. By automatically patching vendor id and device id (and the checksum) in qemu, all emulated family members can share the same boot rom. VGA bios roms are another example with different vendor and device ids. Only qemu's built-in default rom files will be patched. v2: * Patch also the vendor id (and remove the sanity check for vendor id). v3: * Don't patch a rom file when its name was set by the user. Thus we avoid modifications of unknown rom data. Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Markus Armbruster <armbru@redhat.com> Cc: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions