qemu/softmmu
Guo Zhi 6985d8ede9 vga: avoid crash if no default vga card
QEMU in some arch will crash when executing -vga help command, because
there is no default vga model.  Add check to this case and avoid crash.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/978

Signed-off-by: Guo Zhi <qtxuning1999@sjtu.edu.cn>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220503091724.970009-1-qtxuning1999@sjtu.edu.cn>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2022-06-28 10:43:05 +02:00
..
arch_init.c
balloon.c
bootdevice.c machine: use QAPI struct for boot configuration 2022-05-12 12:29:43 +02:00
cpu-throttle.c
cpu-timers.c
cpus.c
datadir.c
device_tree.c
dma-helpers.c
globals.c ui: Switch "-display sdl" to use the QAPI parser 2022-06-03 08:03:28 +02:00
icount.c replay: rewrite async event handling 2022-06-06 09:26:53 +02:00
ioport.c
main.c Simplify softmmu/main.c 2022-04-21 16:56:55 +04:00
memory.c
memory_mapping.c
meson.build
physmem.c softmmu: Always initialize xlat in address_space_translate_for_iotlb 2022-06-21 09:26:16 -07:00
qdev-monitor.c qdev: unplug blocker for devices 2022-06-15 14:50:41 +01:00
qemu-seccomp.c
qtest.c
rtc.c
runstate-action.c
runstate.c
timers-state.h
tpm.c
trace-events
trace.h
vl.c vga: avoid crash if no default vga card 2022-06-28 10:43:05 +02:00