Converting the screendump command is simple and shouldn't take more than or or two patches, the complicated part is to report all errors correctly.
I hope I didn't go too far there, but at least this series does the right thing (or is very near to). o V2 - fix typos in various places [Alon/Me] - Add ENOENT error - Rebase on top of qmp-next console.c | 7 ++-- console.h | 5 +-- cutils.c | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ hmp-commands.hx | 3 +- hmp.c | 9 +++++ hmp.h | 1 + hw/blizzard.c | 4 +-- hw/g364fb.c | 51 ++++++++++++++++++++------- hw/omap_lcdc.c | 60 +++++++++++++++++++++++--------- hw/qxl.c | 7 ++-- hw/tcx.c | 96 +++++++++++++++++++++++++++++++++++++++------------ hw/vga.c | 38 +++++++++++++------- hw/vga_int.h | 3 +- hw/vmware_vga.c | 7 ++-- monitor.c | 6 ---- qapi-schema.json | 25 ++++++++++++++ qemu-common.h | 7 ++++ qerror.c | 32 +++++++++++++++-- qerror.h | 25 ++++++++++++-- qmp-commands.hx | 5 +-- 20 files changed, 400 insertions(+), 94 deletions(-)