> -----Original Message----- > From: Philippe Mathieu-Daudé <[email protected]> On Behalf Of > Philippe Mathieu-Daudé > Sent: 20 September 2020 12:44 > To: Markus Armbruster <[email protected]>; [email protected] > Cc: Laurent Vivier <[email protected]>; Paolo Bonzini <[email protected]>; > Anthony Perard > <[email protected]>; Stefano Stabellini <[email protected]>; > Daniel P. Berrangé > <[email protected]>; Eduardo Habkost <[email protected]>; Paul Durrant > <[email protected]>; Marcel > Apfelbaum <[email protected]>; Michael S. Tsirkin <[email protected]>; > xen- > [email protected]; Philippe Mathieu-Daudé <[email protected]> > Subject: [PATCH 2/2] qdev: Let BusRealize() return a boolean value to > indicate error > > Commit 9940b2cfbc0 introduced qdev_realize() and qbus_realize() > with the ability to return a boolean value if an error occured, > thus the caller does not need to check if the Error* pointer is > set. > Provide the same ability to the BusRealize type. > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > --- > include/hw/qdev-core.h | 14 +++++++++++++- > hw/hyperv/vmbus.c | 5 +++-- > hw/nubus/nubus-bus.c | 5 +++-- > hw/pci/pci.c | 12 +++++++++--- > hw/xen/xen-bus.c | 5 +++--
Acked-by: Paul Durrant <[email protected]>
