diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2013-11-21 15:08:55 +1100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-13 03:49:48 +0100 |
commit | c6ba42f6bce0e361e27803622987ffbd05ce7b7a (patch) | |
tree | 11cf38345fe221304aaf420a50027d385a741721 /linux-user/signal.c | |
parent | fb0e843a11abae5b959a4b02be7aef617c023b4e (diff) |
spapr-pci: Convert to QOM realize
This converts the old-style SysBusDevice::init() callback to a new-style
DeviceClass::realize() callback.
As a part of conversion, this replaces fprintf(stderr) with error_setg()
as realize() does not "return" any value, instead it puts the extended
error into **errp.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Mike Day <ncmike@ncultra.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'linux-user/signal.c')
0 files changed, 0 insertions, 0 deletions