]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu: correct vga-virtio option to keep virgl enabled
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 8 Sep 2021 18:01:10 +0000 (20:01 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Oct 2021 17:31:04 +0000 (18:31 +0100)
qemu 6.1 has (perhaps unintentionally) disabled virgl in -vga virtio:
https://gitlab.com/qemu-project/qemu/-/issues/586

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu

index c467b0eb191febc6ec845a670969329a00cc3104..3268bb18ada692b867e567750af180a429b1e28b 100755 (executable)
@@ -1350,7 +1350,7 @@ class BaseConfig(object):
 
         if self.sdl == True or self.gtk == True or self.egl_headless == True:
             self.set_dri_path()
-            self.qemu_opt += ' -vga virtio -display '
+            self.qemu_opt += ' -device virtio-vga-gl -display '
             if self.egl_headless == True:
                 self.qemu_opt += 'egl-headless,'
             else: