Skip to content

screendump qapi convertion

Alon Levy qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 10 repliesIn review
  2. v25 patches 9 repliesSuperseded

v2 changes from the cover letter

split screendump convertion to an addition "add Error** param" handle various errors of fopen with new qerror codes

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5qerror: add error codes for fopen failureqerror.c qerror.h+63 -05 replies
2/5add qemu_fopen_errMakefile.objs libcacard/Makefile osdep-qerror.c +2 more+66 -52 replies
3/5vga_hw_screen_dump: add Error** paramconsole.c console.h hw/blizzard.c +7 more+38 -180 replies
4/5qapi: convert screendumphmp-commands.hx hmp.c hmp.h +4 more+40 -121 reply
5/5vga: ppm_save(): Return error on failurehw/blizzard.c hw/qxl.c hw/vga.c +2 more+10 -72 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/5] screendump qapi convertion

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
Signature · 1 line
1.7.9.3