From aa1294136544096c90fb5ada8d88785941013d1c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 13 Apr 2022 21:49:47 +0100 Subject: runqemu fixup (From OE-Core rev: da68d1f380762240a1078436f65e7efbe708e685) Signed-off-by: Richard Purdie --- scripts/runqemu | 12 +++++++----- 1 file 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): self.qemu_opt += '-display none' if self.sdl == True or self.gtk == True or self.egl_headless == True: - if self.gl or self.gl_es or self.egl_headless: - self.qemu_opt += ' -device virtio-vga-gl ' - else: - self.qemu_opt += ' -device virtio-vga ' - self.qemu_opt += '-display ' + if self.qemu_system.endswith(('i386', 'x86_64')): + if self.gl or self.gl_es or self.egl_headless: + self.qemu_opt += ' -device virtio-vga-gl ' + else: + self.qemu_opt += ' -device virtio-vga ' + + self.qemu_opt += ' -display ' if self.egl_headless == True: self.set_dri_path() self.qemu_opt += 'egl-headless,' -- cgit v1.2.3-54-g00ecf