summary refs log tree commit diff stats
path: root/util/oslib-posix.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2013-11-21 15:08:55 +1100
committerAndreas Färber <afaerber@suse.de>2014-03-13 03:49:48 +0100
commitc6ba42f6bce0e361e27803622987ffbd05ce7b7a (patch)
tree11cf38345fe221304aaf420a50027d385a741721 /util/oslib-posix.c
parentfb0e843a11abae5b959a4b02be7aef617c023b4e (diff)
downloadfocaccia-qemu-c6ba42f6bce0e361e27803622987ffbd05ce7b7a.tar.gz
focaccia-qemu-c6ba42f6bce0e361e27803622987ffbd05ce7b7a.zip
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 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions