]> Git Repo - qemu.git/commit
vga: avoid crash if no default vga card
authorGuo Zhi <[email protected]>
Tue, 3 May 2022 09:17:24 +0000 (17:17 +0800)
committerLaurent Vivier <[email protected]>
Tue, 28 Jun 2022 08:43:05 +0000 (10:43 +0200)
commit6985d8ede92494f3b791de01e8ee9306eb6d5e4a
treee4a75f82828608be40fa42d693105c3899e8ab9d
parentad4c7f529a279685da84297773b4ec8080153c2d
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 <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Tested-by: Thomas Huth <[email protected]>
Message-Id: <20220503091724[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
softmmu/vl.c
This page took 0.028598 seconds and 4 git commands to generate.