public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Vasyl Vavrychuk" <vvavrychuk@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Vasyl Vavrychuk <vvavrychuk@gmail.com>
Subject: [PATCH] runqemu: Change virtio-vga to virtio-gpu.
Date: Sun, 30 Aug 2020 23:15:22 +0300	[thread overview]
Message-ID: <20200830201522.23701-1-vvavrychuk@gmail.com> (raw)

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


             reply	other threads:[~2020-08-30 20:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-30 20:15 Vasyl Vavrychuk [this message]
2020-08-30 20:43 ` [OE-core] [PATCH] runqemu: Change virtio-vga to virtio-gpu 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200830201522.23701-1-vvavrychuk@gmail.com \
    --to=vvavrychuk@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox