[Qemu-devel] [PATCH 13/14] tcx: tcx_screen_dump(): add error handling

2012-05-30 Thread Luiz Capitulino
This is done by using qemu_fopen_err(), qemu_fputc_err() and handling errors appropriately (eg. removing the screendump file if the operation fails). Note that the error is not passed up yet, as vga_hw_screen_dump() still calls consoles[0]->hw_screen_dump() with errp=NULL. The error will be propa

[Qemu-devel] [PATCH 13/14] tcx: tcx_screen_dump(): add error handling

2012-05-25 Thread Luiz Capitulino
This is done by using qemu_fopen_err(), qemu_fputc_err() and handling errors appropriately (eg. removing the screendump file if the operation fails). Note that the error is not passed up yet, as vga_hw_screen_dump() still calls consoles[0]->hw_screen_dump() with errp=NULL. The error will be propa