qdev: Deprecated qdev_init() is finally unused, drop
commit0210afe6690be045cb849b2f16bffabda575a9bf
authorMarkus Armbruster <armbru@redhat.com>
Fri, 19 Jun 2015 14:17:22 +0000 (19 16:17 +0200)
committerAndreas Färber <afaerber@suse.de>
Fri, 19 Jun 2015 17:14:22 +0000 (19 19:14 +0200)
treed8bd805b0d2abc8786af1826be38f1f35b9601dc
parenta3590dacce94519c1747d8bf423744c6bb7d9941
qdev: Deprecated qdev_init() is finally unused, drop

qdev_init() is a wrapper around setting property "realized" to true,
plus error handling that passes errors to qerror_report_err().
qerror_report_err() is a transitional interface to help with
converting existing monitor commands to QMP.  It should not be used
elsewhere.

All code has been modernized to avoid qdev_init() and its
inappropriate error handling.  We can finally drop it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/core/qdev.c
include/hw/qdev-core.h