]> git.ipfire.org Git - thirdparty/qemu.git/commit
pci: allow loading roms via fw_cfg.
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 8 Jan 2010 14:25:41 +0000 (15:25 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 12 Jan 2010 20:48:27 +0000 (14:48 -0600)
commit027866ce23606b2aa4851efe4060d41354261582
tree7a1834ec7c95a6c14631d72c29f43684058c7df4
parent04babf6c6f8ccf69f1219db5fea233d679702e90
pci: allow loading roms via fw_cfg.

This patch adds a pci bus property 'rombar' which specifies whenever
the pci rom should be loaded via pci rom bar (default) or via fw_cfg.
The later can be used for compatibility with older qemu versions where
no pci rom bar is present.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 88169ddf82853ca892ce7bee279579c8a0ac03e5)
hw/pci.c
hw/pci.h