The blockdev patch is more RFC'ish, and not actually related. It is just a natural candidate to reuse the error_set_file_open_failed introduced by the first patch for usage in ppm_save but also useful for other places that all call fopen.
v2 changes: split screendump convertion to an addition "add Error** param" handle various errors of fopen with new qerror codes Alon Levy (4): error: add error_set_file_open_failed vga_hw_screen_dump: add Error** param qapi: convert screendump blockdev: use error_set_file_open_failed Luiz Capitulino (1): vga: ppm_save(): Return error on failure blockdev.c | 11 +++++++---- console.c | 5 +++-- console.h | 6 ++++-- cpus.c | 4 ++-- error.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ error.h | 4 ++++ 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 +++++--- monitor.c | 6 ------ qapi-schema.json | 13 +++++++++++++ qerror.c | 36 ++++++++++++++++++++++++++++++++++++ qerror.h | 27 +++++++++++++++++++++++++++ qga/commands-posix.c | 2 +- qmp-commands.hx | 5 +---- qmp.c | 5 +++++ 24 files changed, 197 insertions(+), 43 deletions(-) -- 1.7.9.3