diff mbox series

[RFC,04/11] vl: Hardcode a VGA device for now

Message ID 20211202070450.264743-5-armbru@redhat.com (mailing list archive)
State New, archived
Headers show
Series vl: Explore redesign of startup | expand

Commit Message

Markus Armbruster Dec. 2, 2021, 7:04 a.m. UTC
My axing of the CLI also axed the (moderately complicated) code that
posts a request to the board to create a VGA device.  Hardcode such a
request, to facilitate manual testing.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 softmmu/vl.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/softmmu/vl.c b/softmmu/vl.c
index b14db0f47f..07be92d5c0 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -534,6 +534,9 @@  static void qemu_create_default_devices(void)
     if (dpy.type == DISPLAY_TYPE_DEFAULT) {
         dpy.type = DISPLAY_TYPE_NONE;
     }
+
+    /* HACK: hardcoded VGA device */
+    vga_interface_type = VGA_STD;
 }
 
 Chardev *serial_hd(int i)