summary refs log tree commit diff stats
path: root/bsd-user/netbsd/target_os_stack.h
diff options
context:
space:
mode:
authorGuo Zhi <qtxuning1999@sjtu.edu.cn>2022-05-03 17:17:24 +0800
committerLaurent Vivier <laurent@vivier.eu>2022-06-28 10:43:05 +0200
commit6985d8ede92494f3b791de01e8ee9306eb6d5e4a (patch)
treee4a75f82828608be40fa42d693105c3899e8ab9d /bsd-user/netbsd/target_os_stack.h
parentad4c7f529a279685da84297773b4ec8080153c2d (diff)
downloadfocaccia-qemu-6985d8ede92494f3b791de01e8ee9306eb6d5e4a.tar.gz
focaccia-qemu-6985d8ede92494f3b791de01e8ee9306eb6d5e4a.zip
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>
Diffstat (limited to 'bsd-user/netbsd/target_os_stack.h')
0 files changed, 0 insertions, 0 deletions