public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] runqemu: Change virtio-vga to virtio-gpu.
@ 2020-08-30 20:15 Vasyl Vavrychuk
  2020-08-30 20:43 ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 7+ messages in thread
From: Vasyl Vavrychuk @ 2020-08-30 20:15 UTC (permalink / raw)
  To: openembedded-core; +Cc: Vasyl Vavrychuk

virtio-vga is available in QEMU only for hppa, i386, and ppc
architectures. On the other hand, virtio-gpu is available for all
architectures.

Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
---
 scripts/runqemu | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 7fb5f7db57..5d6b35ffe4 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -461,19 +461,19 @@ class BaseConfig(object):
             elif arg == 'sdl':
                 if 'gl' in sys.argv[1:]:
                     self.set_dri_path()
-                    self.qemu_opt_script += ' -vga virtio -display sdl,gl=on,show-cursor=on'
+                    self.qemu_opt_script += ' -device virtio-gpu -display sdl,gl=on,show-cursor=on'
                 elif 'gl-es' in sys.argv[1:]:
                     self.set_dri_path()
-                    self.qemu_opt_script += ' -vga virtio -display sdl,gl=es,show-cursor=on'
+                    self.qemu_opt_script += ' -device virtio-gpu -display sdl,gl=es,show-cursor=on'
                 else:
                     self.qemu_opt_script += ' -display sdl,show-cursor=on'
             elif arg == 'gtk':
                 if 'gl' in sys.argv[1:]:
                     self.set_dri_path()
-                    self.qemu_opt_script += ' -vga virtio -display gtk,gl=on,show-cursor=on'
+                    self.qemu_opt_script += ' -device virtio-gpu -display gtk,gl=on,show-cursor=on'
                 elif 'gl-es' in sys.argv[1:]:
                     self.set_dri_path()
-                    self.qemu_opt_script += ' -vga virtio -display gtk,gl=es,show-cursor=on'
+                    self.qemu_opt_script += ' -device virtio-gpu -display gtk,gl=es,show-cursor=on'
                 else:
                     self.qemu_opt_script += ' -display gtk,show-cursor=on'
             elif arg == 'gl' or arg == 'gl-es':
@@ -482,7 +482,7 @@ class BaseConfig(object):
                     raise RunQemuError('Option %s also needs gtk or sdl option.' % (arg))
             elif arg == 'egl-headless':
                 self.set_dri_path()
-                self.qemu_opt_script += ' -vga virtio -display egl-headless,show-cursor=on'
+                self.qemu_opt_script += ' -device virtio-gpu -display egl-headless,show-cursor=on'
             elif arg == 'serial':
                 self.kernel_cmdline_script += ' console=ttyS0'
                 self.serialconsole = True
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-11-05  9:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-30 20:15 [PATCH] runqemu: Change virtio-vga to virtio-gpu Vasyl Vavrychuk
2020-08-30 20:43 ` [OE-core] " Alexander Kanavin
2020-10-30 12:38   ` Vasyl Vavrychuk
2020-10-31 12:27     ` Alexander Kanavin
2020-11-01 12:27       ` Richard Purdie
2020-11-05  9:52   ` Vasyl Vavrychuk
2020-11-05  9:56     ` Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox