qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Markus Armbruster
Subject: [PATCH RFC 04/11] vl: Hardcode a VGA device for now
Date: Thu, 2 Dec 2021 08:04:43 +0100

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 --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)
-- 
2.31.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]