Do the virgl selftests still pass with this change? Please run

oe-selftest -r runtime_test.TestImage.test_testimage_virgl_gtk_sdl

and

oe-selftest -r runtime_test.TestImage.test_testimage_virgl_headless

Alex


On Sun, 30 Aug 2020 at 22:15, Vasyl Vavrychuk <[email protected]> wrote:

> 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 <[email protected]>
> ---
>  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
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#142017): 
https://lists.openembedded.org/g/openembedded-core/message/142017
Mute This Topic: https://lists.openembedded.org/mt/76521246/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to