> -----Original Message----- > From: Philippe Mathieu-Daudé <philippe.mathieu.da...@gmail.com> On Behalf Of > Philippe Mathieu-Daudé > Sent: 20 September 2020 12:44 > To: Markus Armbruster <arm...@redhat.com>; qemu-de...@nongnu.org > Cc: Laurent Vivier <laur...@vivier.eu>; Paolo Bonzini <pbonz...@redhat.com>; > Anthony Perard > <anthony.per...@citrix.com>; Stefano Stabellini <sstabell...@kernel.org>; > Daniel P. Berrangé > <berra...@redhat.com>; Eduardo Habkost <ehabk...@redhat.com>; Paul Durrant > <p...@xen.org>; Marcel > Apfelbaum <marcel.apfelb...@gmail.com>; Michael S. Tsirkin <m...@redhat.com>; > xen- > de...@lists.xenproject.org; Philippe Mathieu-Daudé <f4...@amsat.org> > 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é <f4...@amsat.org> > --- > 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 <p...@xen.org>