pci romfiles: add property, add default to PCIDeviceInfo
commit8c52c8f320b27684ec3b1a649925b75af376b1f7
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 18 Dec 2009 11:01:08 +0000 (18 12:01 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 18 Dec 2009 17:26:34 +0000 (18 11:26 -0600)
tree3319fe6f7e835d0a718000ae04be89f380d72406
parentc2039bd0ffce8807e0eaac55254fde790825fa92
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>
hw/cirrus_vga.c
hw/e1000.c
hw/pci.c
hw/pci.h
hw/rtl8139.c
hw/virtio-pci.c