All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] qdev: Let BusRealize() return a boolean value to indicate error
@ 2020-09-20 11:44 ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 16+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-09-20 11:44 UTC (permalink / raw)
  To: Markus Armbruster, qemu-devel
  Cc: Stefano Stabellini, Daniel P. Berrangé,
	Eduardo Habkost, Paul Durrant, Michael S. Tsirkin,
	Laurent Vivier, Philippe Mathieu-Daudé,
	xen-devel, Anthony Perard, Paolo Bonzini

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(-)

-- 
2.26.2



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-09-21 13:03 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-20 11:44 [PATCH 0/2] qdev: Let BusRealize() return a boolean value to indicate error Philippe Mathieu-Daudé
2020-09-20 11:44 ` Philippe Mathieu-Daudé
2020-09-20 11:44 ` [PATCH 1/2] qdev: Document qbus_realize() and qbus_unrealize() Philippe Mathieu-Daudé
2020-09-20 11:44   ` Philippe Mathieu-Daudé
2020-09-20 11:44 ` [PATCH 2/2] qdev: Let BusRealize() return a boolean value to indicate error Philippe Mathieu-Daudé
2020-09-20 11:44   ` Philippe Mathieu-Daudé
2020-09-21  7:01   ` Paul Durrant
2020-09-21  7:01     ` Paul Durrant
2020-09-21  8:19   ` Markus Armbruster
2020-09-21  8:19     ` Markus Armbruster
2020-09-21  9:38     ` Philippe Mathieu-Daudé
2020-09-21  9:38       ` Philippe Mathieu-Daudé
2020-09-21 12:58       ` Markus Armbruster
2020-09-21 12:58         ` Markus Armbruster
2020-09-20 22:56 ` [PATCH 0/2] " Richard Henderson
2020-09-20 22:56   ` Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.