v3 changes: (Requested by Luiz Capitulino) rename helper to qemu_fopen_err don't touch unrelated subsystems move helper to osdep - I couldn't do it that way without dragging a lot of dependencies into libcacard which uses osdep-obj-y, so I split it so that there is now a osdep-no-qerror-obj-y that is solemnly used by libcacard and is contained in osdep-obj-y. rename some of the QERR codes, specifically most of them lost the OPEN_FILE substring. split the first patch in two, adding error codes and adding qemu_fopen_err
v2 changes: split screendump convertion to an addition "add Error** param" handle various errors of fopen with new qerror codes Alon Levy (4): qerror: add error codes for fopen failure add qemu_fopen_err vga_hw_screen_dump: add Error** param qapi: convert screendump Luiz Capitulino (1): vga: ppm_save(): Return error on failure Makefile.objs | 8 +++++--- console.c | 5 +++-- console.h | 6 ++++-- hmp-commands.hx | 3 +-- hmp.c | 8 ++++++++ hmp.h | 1 + hw/blizzard.c | 5 +++-- hw/g364fb.c | 4 +++- hw/omap_lcdc.c | 4 +++- hw/qxl.c | 8 +++++--- hw/tcx.c | 13 +++++++++---- hw/vga.c | 15 ++++++++++----- hw/vga_int.h | 3 ++- hw/vmware_vga.c | 8 +++++--- libcacard/Makefile | 2 +- monitor.c | 6 ------ osdep-qerror.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ osdep-qerror.h | 8 ++++++++ osdep.c | 1 - qapi-schema.json | 24 ++++++++++++++++++++++++ qerror.c | 36 ++++++++++++++++++++++++++++++++++++ qerror.h | 27 +++++++++++++++++++++++++++ qmp-commands.hx | 5 +---- qmp.c | 5 +++++ 24 files changed, 216 insertions(+), 41 deletions(-) create mode 100644 osdep-qerror.c create mode 100644 osdep-qerror.h -- 1.7.9.3