Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/9] runqemu: add an option to choose the SDL frontend instead of Gtk+ default
Date: Sun,  3 Mar 2019 12:27:44 +0100	[thread overview]
Message-ID: <20190303112752.16353-1-alex.kanavin@gmail.com> (raw)

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



             reply	other threads:[~2019-03-03 11:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-03 11:27 Alexander Kanavin [this message]
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

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=20190303112752.16353-1-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