Re: [PATCH v1] vga: avoid crash if no default vga card

2022-06-28 Thread Laurent Vivier
Le 03/05/2022 à 17:39, Thomas Huth a écrit : On 03/05/2022 11.17, Guo Zhi wrote: 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. Signed-off-by: Guo Zhi ---   softmmu/vl.c | 3 ++-   1 file changed, 2

Re: [PATCH v1] vga: avoid crash if no default vga card

2022-05-03 Thread Thomas Huth
On 03/05/2022 11.17, Guo Zhi wrote: 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. Signed-off-by: Guo Zhi --- softmmu/vl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v1] vga: avoid crash if no default vga card

2022-05-03 Thread Guo Zhi
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. Signed-off-by: Guo Zhi --- softmmu/vl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/softmmu/vl.c b/softmmu/vl.c index