aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index c0e569c44c..04c162a423 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -75,6 +75,8 @@ of the following environment variables (in any order):
Simplified QEMU command-line options can be passed with:
nographic - disable video console
sdl - choose the SDL frontend instead of the Gtk+ default
+ sdl-gl - enable virgl-based GL acceleration using SDL frontend
+ sdl-gl-es - enable virgl-based GL acceleration, using OpenGL ES and SDL frontend
gtk-gl - enable virgl-based GL acceleration using Gtk+ frontend
gtk-gl-es - enable virgl-based GL acceleration, using OpenGL ES and Gtk+ frontend
egl-headless - enable headless EGL output; use vnc or spice to see it
@@ -407,6 +409,10 @@ class BaseConfig(object):
self.kernel_cmdline_script += ' console=ttyS0'
elif arg == 'sdl':
self.qemu_opt_script += ' -display sdl'
+ elif arg == 'sdl-gl':
+ self.qemu_opt_script += ' -vga virtio -display sdl,gl=on'
+ elif arg == 'sdl-gl-es':
+ self.qemu_opt_script += ' -vga virtio -display sdl,gl=es'
elif arg == 'gtk-gl':
self.qemu_opt_script += ' -vga virtio -display gtk,gl=on'
elif arg == 'gtk-gl-es':