runqemu: correct vga-virtio option to keep virgl enabled

qemu 6.1 has (perhaps unintentionally) disabled virgl in -vga virtio:
https://gitlab.com/qemu-project/qemu/-/issues/586

(From OE-Core rev: 2c6c7f0ff24da7060cea35f8ff89f2cabd96f2fb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2021-09-08 20:01:10 +02:00
committed by Richard Purdie
parent d87987fc1a
commit 8dfe2412da

View File

@@ -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: