All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] runqemu: Change to use -device virtio-gpu-pci instead of -vga virtio
@ 2019-08-28  4:35 shohei.maruyama
  2019-08-28  5:02 ` ✗ patchtest: failure for " Patchwork
  2019-08-28  6:54 ` [PATCH] " Alexander Kanavin
  0 siblings, 2 replies; 6+ messages in thread
From: shohei.maruyama @ 2019-08-28  4:35 UTC (permalink / raw)
  To: openembedded-core

If using qemu-system-aarch64 or qemu-system-arm with the options, an error
occured as follows:

  qemu-system-aarch64: Virtio VGA not available

this commit fixes the error to use -device virtio-gpu-pci instead of
-vga virtio.
---
 scripts/runqemu | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 19fd521cd9..28ecee97a7 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -398,11 +398,11 @@ class BaseConfig(object):
             elif arg == 'sdl':
                 self.qemu_opt_script += ' -display sdl'
             elif arg == 'gtk-gl':
-                self.qemu_opt_script += ' -vga virtio -display gtk,gl=on'
+                self.qemu_opt_script += ' -device virtio-gpu-pci,virgl=on -display gtk,gl=on'
             elif arg == 'gtk-gl-es':
-                self.qemu_opt_script += ' -vga virtio -display gtk,gl=es'
+                self.qemu_opt_script += ' -device virtio-gpu-pci,virgl=on -display gtk,gl=es'
             elif arg == 'egl-headless':
-                self.qemu_opt_script += ' -vga virtio -display egl-headless'
+                self.qemu_opt_script += ' -device virtio-gpu-pci,virgl=on -display egl-headless'
                 # As runqemu can be run within bitbake (when using testimage, for example),
                 # we need to ensure that we run host pkg-config, and that it does not
                 # get mis-directed to native build paths set by bitbake.
-- 
2.23.0



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

end of thread, other threads:[~2019-08-30 12:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-28  4:35 [PATCH] runqemu: Change to use -device virtio-gpu-pci instead of -vga virtio shohei.maruyama
2019-08-28  5:02 ` ✗ patchtest: failure for " Patchwork
2019-08-28  6:54 ` [PATCH] " Alexander Kanavin
2019-08-30  0:09   ` shohei.maruyama
2019-08-30 11:38     ` Alexander Kanavin
2019-08-30 12:33       ` Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.