]> git.ipfire.org Git - thirdparty/qemu.git/commit
pci romfiles: add property, add default to PCIDeviceInfo
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Dec 2009 11:01:08 +0000 (12:01 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 19 Dec 2009 14:26:24 +0000 (08:26 -0600)
commit898829d5c731516c96f9e3cc3cdcbe36cd494fd4
tree958672018c9da91c5a540bb6d77848fa09737aa9
parent72bb3c7571226af13cfe9eec020a56add3d30a70
pci romfiles: add property, add default to PCIDeviceInfo

This patch adds a romfile property to the pci bus.  It allows to specify
a romfile to load into the rom bar of the pci device.  The default value
comes from a new field in PCIDeviceInfo.  The property allows to change
the file and also to disable the rom loading using an empty string.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 8c52c8f320b27684ec3b1a649925b75af376b1f7)
hw/cirrus_vga.c
hw/e1000.c
hw/pci.c
hw/pci.h
hw/rtl8139.c
hw/virtio-pci.c