-
由 Alexey Kardashevskiy 提交于
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: NAlexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: NMike Day <ncmike@ncultra.org> Signed-off-by: NAndreas Färber <afaerber@suse.de>
c6ba42f6