Skip to content

qdev: Let BusRealize() return a boolean value to indicate error

Philippe Mathieu-Daudé qemu-devel xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qdev: Document qbus_realize() and qbus_unrealize()include/hw/qdev-core.h+12 -00 replies
2/2qdev: Let BusRealize() return a boolean value to indicate errorhw/hyperv/vmbus.c hw/nubus/nubus-bus.c hw/pci/pci.c +2 more+31 -104 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard HendersonPaul Durrant
SeriesR-b
1/2
2/2A-b

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

Read the v1 thread

Cover letter [PATCH 0/2] qdev: Let BusRealize() return a boolean value to indicate error

To ease error checking in DeviceRealize handlers, let BusRealize return a boolean value, as qbus_realize() does.

Having DeviceRealize similarly return a boolean value is left as an exercice for volunteers :)

Philippe Mathieu-Daudé (2):
qdev: Document qbus_realize() and qbus_unrealize()
qdev: Let BusRealize() return a boolean value to indicate error

 include/hw/qdev-core.h | 26 +++++++++++++++++++++++++-
 hw/hyperv/vmbus.c      |  5 +++--
 hw/nubus/nubus-bus.c   |  5 +++--
 hw/pci/pci.c           | 12 +++++++++---
 hw/xen/xen-bus.c       |  5 +++--
 5 files changed, 43 insertions(+), 10 deletions(-)
Signature · 1 line
2.26.2