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 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core