Skip to content

qdev: Mostly wean off QError

Markus Armbruster qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 1 replyIn review
  2. v27 patches 9 repliesSuperseded
  3. v17 patches 10 repliesSuperseded

Changes in v3 from the cover letter

* Trivially rebased, R-bys retained
* PATCH 1: Add rationale to commit message [Andreas]
* PATCH 2: Don't drop the comment outright, update it [Andreas]
* PATCH 3: Comment and commit message typos [Andreas] v2:
* Trivially rebased
* PATCH 5+7: Error and commit message polish [Eric]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7qdev: Deprecated qdev_init() is finally unused, drophw/core/qdev.c include/hw/qdev-core.h+17 -330 replies
2/7qdev: Un-deprecate qdev_init_nofail()include/hw/qdev-core.h+2 -20 replies
3/7qdev-monitor: Stop error avalanche in qbus_find_recursive()qdev-monitor.c+39 -230 replies
4/7qdev-monitor: Fix check for full busqdev-monitor.c+17 -140 replies
5/7qdev-monitor: Convert qbus_find() to Errorinclude/qapi/qmp/qerror.h qdev-monitor.c+20 -150 replies
6/7qdev-monitor: Propagate errors through set_property()qdev-monitor.c+3 -30 replies
7/7qdev-monitor: Propagate errors through qdev_device_add()include/monitor/qdev.h qdev-monitor.c vl.c+21 -240 replies

Reviews trailers per patch

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

PatchEric BlakeAndreas Färber
1/7R-b R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b R-b
7/7R-b R-b

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

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/7] qdev: Mostly wean off QError

Only the calls in do_device_add() remain, because QMP's command handler interface requires them. They'll go away when I wean QMP off QError.

Bonus: a few error reporting improvements.

Casualty: some explanatory messages, see PATCH 5.

v3:
* Trivially rebased, R-bys retained
* PATCH 1: Add rationale to commit message [Andreas]
* PATCH 2: Don't drop the comment outright, update it [Andreas]
* PATCH 3: Comment and commit message typos [Andreas] v2:
* Trivially rebased
* PATCH 5+7: Error and commit message polish [Eric]

Markus Armbruster (7):
qdev: Deprecated qdev_init() is finally unused, drop
qdev: Un-deprecate qdev_init_nofail()
qdev-monitor: Stop error avalanche in qbus_find_recursive()
qdev-monitor: Fix check for full bus
qdev-monitor: Convert qbus_find() to Error
qdev-monitor: Propagate errors through set_property()
qdev-monitor: Propagate errors through qdev_device_add()

 hw/core/qdev.c            |  47 ++++++---------
 include/hw/qdev-core.h    |   5 +-
 include/monitor/qdev.h    |   2 +-
 include/qapi/qmp/qerror.h |   3 -
 qdev-monitor.c            | 143 ++++++++++++++++++++++++++--------------------
 vl.c                      |   7 ++-
 6 files changed, 106 insertions(+), 101 deletions(-)
Signature · 1 line
1.9.3