Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/9] runqemu: add an option to choose the SDL frontend instead of Gtk+ default
@ 2019-03-03 11:27 Alexander Kanavin
  2019-03-03 11:27 ` [PATCH 2/9] runqemu: make gl options gtk+-specific Alexander Kanavin
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Alexander Kanavin @ 2019-03-03 11:27 UTC (permalink / raw)
  To: openembedded-core

When Gtk+ and SDL are both enabled, qemu defaults to Gtk+.
This option allows to revert to the 'classic' frontend.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 scripts/runqemu | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/runqemu b/scripts/runqemu
index ec6188ba4a2..bbf539a8e67 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -74,6 +74,7 @@ of the following environment variables (in any order):
   MACHINE - the machine name (optional, autodetected from KERNEL filename if unspecified)
   Simplified QEMU command-line options can be passed with:
     nographic - disable video console
+    sdl - choose the SDL frontend instead of the Gtk+ default
     gl - enable virgl-based GL acceleration
     gl-es - enable virgl-based GL acceleration, using OpenGL ES
     egl-headless - enable headless EGL output; use vnc or spice to see it
@@ -404,6 +405,8 @@ class BaseConfig(object):
             elif arg == 'nographic':
                 self.qemu_opt_script += ' -nographic'
                 self.kernel_cmdline_script += ' console=ttyS0'
+            elif arg == 'sdl':
+                self.qemu_opt_script += ' -display sdl'
             elif arg == 'gl':
                 self.qemu_opt_script += ' -vga virtio -display gtk,gl=on'
             elif arg == 'gl-es':
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-03-03 11:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-03 11:27 [PATCH 1/9] runqemu: add an option to choose the SDL frontend instead of Gtk+ default Alexander Kanavin
2019-03-03 11:27 ` [PATCH 2/9] runqemu: make gl options gtk+-specific Alexander Kanavin
2019-03-03 11:27 ` [PATCH 3/9] qemu: enable virglrenderer and glx options for qemu-system-native and nativesdk-qemu Alexander Kanavin
2019-03-03 11:27 ` [PATCH 4/9] qemu: add a gtk+ frontend to target builds Alexander Kanavin
2019-03-03 11:27 ` [PATCH 5/9] qemu: remove sdl option from PACKAGECONFIG default Alexander Kanavin
2019-03-03 11:27 ` [PATCH 6/9] qemu: remove support for building against host sdl Alexander Kanavin
2019-03-03 11:27 ` [PATCH 7/9] selftest: add tests for virgl GL acceleration Alexander Kanavin
2019-03-03 11:27 ` [PATCH 8/9] local.conf.sample: enable gtk+ frontend in addition to sdl Alexander Kanavin
2019-03-03 11:27 ` [PATCH 9/9] local.conf.sample: remove support for building against host libsdl Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox