From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 7/8] runqemu: add an option to choose the SDL frontend instead of Gtk+ default
Date: Thu, 28 Feb 2019 14:15:09 +0100 [thread overview]
Message-ID: <20190228131510.43557-7-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20190228131510.43557-1-alex.kanavin@gmail.com>
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
next prev parent reply other threads:[~2019-02-28 13:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-28 13:15 [PATCH 1/8] qemu: remove glx/virgl/gtk options from darwin/mingw targets Alexander Kanavin
2019-02-28 13:15 ` [PATCH 2/8] qemu: enable virglrenderer and glx options for qemu-system-native and nativesdk-qemu Alexander Kanavin
2019-02-28 13:15 ` [PATCH 3/8] qemu: add a gtk+ frontend to target builds Alexander Kanavin
2019-02-28 13:15 ` [PATCH 4/8] qemu: remove sdl option from PACKAGECONFIG default Alexander Kanavin
2019-02-28 13:15 ` [PATCH 5/8] qemu: remove support for building against host sdl Alexander Kanavin
2019-02-28 13:15 ` [PATCH 6/8] selftest: add tests for virgl GL acceleration Alexander Kanavin
2019-02-28 13:15 ` Alexander Kanavin [this message]
2019-02-28 14:14 ` [PATCH 7/8] runqemu: add an option to choose the SDL frontend instead of Gtk+ default Martin Jansa
2019-02-28 14:16 ` Alexander Kanavin
2019-02-28 13:15 ` [PATCH 8/8] local.conf.sample: enable gtk+ frontend in addition to sdl Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190228131510.43557-7-alex.kanavin@gmail.com \
--to=alex.kanavin@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox