Re: [Qemu-devel] [PATCH] creen dump not supported when no console

2011-11-21 Thread Markus Armbruster
"Cao,Bing Bu" writes: > I have tested the issue use "-vga none -nographic" option. > QEMU segment faults. > > But i think there is no any text and graphic console created in this case. > The console[0] is NULL. > > The vga_hw_screen_dump() should return before console_select(). > What do you thin

Re: [Qemu-devel] [PATCH] creen dump not supported when no console

2011-11-20 Thread Paolo Bonzini
On 11/20/2011 10:31 AM, Cao,Bing Bu wrote: +} else { + fprintf(stderr,"no any console,could not screen dump \n"); + return; This should be error_printf. Paolo

[Qemu-devel] [PATCH] creen dump not supported when no console

2011-11-20 Thread Cao,Bing Bu
I have tested the issue use "-vga none -nographic" option. QEMU segment faults. But i think there is no any text and graphic console created in this case. The console[0] is NULL. The vga_hw_screen_dump() should return before console_select(). What do you think? --- console.c |3 +++ 1 file