On realize, call the qdev init function.
If that returns an error, raise QERR_DEVICE_INIT_FAILED.
Signed-off-by: Andreas Färber afaer...@suse.de
Cc: Anthony Liguori anth...@codemonkey.ws
Cc: Paolo Bonzini pbonz...@redhat.com
---
hw/qdev.c | 13 +
1 files changed, 13 insertions(+),
Am 26.03.2012 15:46, schrieb Andreas Färber:
On realize, call the qdev init function.
If that returns an error, raise QERR_DEVICE_INIT_FAILED.
Sorry, that sentence is outdated - the error is set in qom/object.c
(patch 1/3) for non-zero return values. It is merely being passed
through here.