summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu12
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 664a073807..36af764b1b 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1376,12 +1376,14 @@ class BaseConfig(object):
1376 self.qemu_opt += '-display none' 1376 self.qemu_opt += '-display none'
1377 1377
1378 if self.sdl == True or self.gtk == True or self.egl_headless == True: 1378 if self.sdl == True or self.gtk == True or self.egl_headless == True:
1379 if self.gl or self.gl_es or self.egl_headless:
1380 self.qemu_opt += ' -device virtio-vga-gl '
1381 else:
1382 self.qemu_opt += ' -device virtio-vga '
1383 1379
1384 self.qemu_opt += '-display ' 1380 if self.qemu_system.endswith(('i386', 'x86_64')):
1381 if self.gl or self.gl_es or self.egl_headless:
1382 self.qemu_opt += ' -device virtio-vga-gl '
1383 else:
1384 self.qemu_opt += ' -device virtio-vga '
1385
1386 self.qemu_opt += ' -display '
1385 if self.egl_headless == True: 1387 if self.egl_headless == True:
1386 self.set_dri_path() 1388 self.set_dri_path()
1387 self.qemu_opt += 'egl-headless,' 1389 self.qemu_opt += 'egl-headless,'