summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2013-11-21 05:08:55 +0100
committerAndreas Färber2014-03-13 03:49:48 +0100
commitc6ba42f6bce0e361e27803622987ffbd05ce7b7a (patch)
tree11cf38345fe221304aaf420a50027d385a741721 /include/exec
parentxics-kvm: Fix reset function (diff)
downloadqemu-c6ba42f6bce0e361e27803622987ffbd05ce7b7a.tar.gz
qemu-c6ba42f6bce0e361e27803622987ffbd05ce7b7a.tar.xz
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 'include/exec')
0 files changed, 0 insertions, 0 deletions