summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-13 20:49:47 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-13 21:23:50 (GMT)
commitaa1294136544096c90fb5ada8d88785941013d1c (patch)
tree2f666973d8069580701a9c346d0b67c7316c9300
parent4b0bbcb0b98b7c47595502145deb77ef9d7c5420 (diff)
downloadpoky-aa1294136544096c90fb5ada8d88785941013d1c.tar.gz
runqemu fixup
(From OE-Core rev: da68d1f380762240a1078436f65e7efbe708e685) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/runqemu12
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 664a073..36af764 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,'