Skip to content

block: Cleanups around error reporting

Markus Armbruster qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 6 repliesApplied
  2. v14 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* PATCH 4: Use error_setg() [Kevin]
* R-bys retained

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4blockdev: Give find_block_job() an Error ** parameterblockdev.c+8 -112 replies
2/4blockdev: Eliminate silly QERR_BLOCK_JOB_NOT_ACTIVE macroblockdev.c include/qapi/qmp/qerror.h+2 -41 reply
3/4block: New bdrv_add_key(), convert monitor to use itblock.c blockdev.c include/block/block.h +2 more+47 -311 reply
4/4block: Eliminate silly QERR_ macros used for encryption keysblock.c include/qapi/qmp/qerror.h+3 -81 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchEric BlakeMax Reitz
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] block: Cleanups around error reporting

v2:
* PATCH 4: Use error_setg() [Kevin]
* R-bys retained

Markus Armbruster (4):
blockdev: Give find_block_job() an Error ** parameter
blockdev: Eliminate silly QERR_BLOCK_JOB_NOT_ACTIVE macro
block: New bdrv_add_key(), convert monitor to use it
block: Eliminate silly QERR_ macros used for encryption keys

 block.c                   | 30 ++++++++++++++++++++++++++++++
 blockdev.c                | 44 +++++++++++---------------------------------
 include/block/block.h     |  1 +
 include/qapi/qmp/qerror.h |  9 ---------
 monitor.c                 | 16 +++++++++++-----
 qmp.c                     |  8 ++++----
 6 files changed, 57 insertions(+), 51 deletions(-)
Signature · 1 line
1.9.3