aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-06-08 12:38:47 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-07-02 17:21:52 +0200
commit9f5d9c19c7d9c6eca21802a2777da0119bc22749 (patch)
treecf35577b0fd22b7eaf8a5f0ed85f747748f7faaa
parent7c538789dac550526897e80f80ec39b2102f06d4 (diff)
ramfb: enable vgabios
Add vgabios binary to fw_cfg vgaroms. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--hw/display/ramfb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/ramfb.c b/hw/display/ramfb.c
index 30f5c8da20..25c8ad7c25 100644
--- a/hw/display/ramfb.c
+++ b/hw/display/ramfb.c
@@ -88,6 +88,7 @@ RAMFBState *ramfb_setup(Error **errp)
s = g_new0(RAMFBState, 1);
+ rom_add_vga("vgabios-ramfb.bin");
fw_cfg_add_file_callback(fw_cfg, "etc/ramfb",
NULL, ramfb_fw_cfg_write, s,
&s->cfg, sizeof(s->cfg), false);