Only the calls in do_device_add() remain, because QMP's command handler interface requires them. They'll go away when I wean QMP off QError.
Bonus: a few error reporting improvements. Casualty: some explanatory messages, see PATCH 5. Based on "[PULL 0/9] Error reporting patches". Markus Armbruster (7): qdev: Deprecated qdev_init() is finally unused, drop qdev: Un-deprecate qdev_init_nofail() qdev-monitor: Stop error avalance in qbus_find_recursive() qdev-monitor: Fix check for full bus qdev-monitor: Convert qbus_find() to Error qdev-monitor: Propagate errors through set_property() qdev-monitor: Propagate errors through qdev_device_add() hw/core/qdev.c | 47 ++++++---------- include/hw/qdev-core.h | 3 - include/monitor/qdev.h | 2 +- include/qapi/qmp/qerror.h | 3 - qdev-monitor.c | 141 ++++++++++++++++++++++++++-------------------- vl.c | 7 ++- 6 files changed, 103 insertions(+), 100 deletions(-) -- 1.9.3