Skip to content

Running QEMU with "-vga help" crashes if there is no default VGA card

Current QEMU (v7.0.0-rc3) crashes with a segmentation fault in case it is run with "-vga help" for architectures that do not have a VGA card by default, e.g.:

   $ ./qemu-system-s390x -vga help
   Segmentation fault (core dumped)

or:

   $ ./qemu-system-tricore -M none -vga help
   Segmentation fault (core dumped)

The code seems to be crashing in select_vgahw() if get_default_vga_model() returns a NULL pointer.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information