aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-12-11 15:47:44 +1000
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 08:17:28 -0600
commit4d687b13cf3dd6c1247bc723a2c50b66d470e19d (patch)
tree5b59761cd7a797988e930668b0c9c5c1d4be9d5c /hw
parentDo not abort on qemu_malloc(0) in production builds (diff)
downloadqemu-kvm-4d687b13cf3dd6c1247bc723a2c50b66d470e19d.tar.gz
qemu-kvm-4d687b13cf3dd6c1247bc723a2c50b66d470e19d.tar.bz2
qemu-kvm-4d687b13cf3dd6c1247bc723a2c50b66d470e19d.zip
vmware_vga: add rom file so that it boots.
This just adds the rom file to the vmware SVGA chipset so it boots. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> (cherry picked from commit b3c3f123f785fb861d930080f083507b51f5ce79)
Diffstat (limited to 'hw')
-rw-r--r--hw/vmware_vga.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index 240731a1b..a7e42c6e1 100644
--- a/hw/vmware_vga.c
+++ b/hw/vmware_vga.c
@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "hw.h"
+#include "loader.h"
#include "console.h"
#include "pci.h"
#include "vmware_vga.h"
@@ -1124,6 +1125,7 @@ static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size)
cpu_register_physical_memory(VBE_DISPI_LFB_PHYSICAL_ADDRESS,
vga_ram_size, s->vga.vram_offset);
#endif
+ rom_add_vga(VGABIOS_FILENAME);
}
static void pci_vmsvga_map_ioport(PCIDevice *pci_dev, int region_num,