summaryrefslogtreecommitdiffstats
path: root/hw/ide/isa.c
diff options
context:
space:
mode:
authorMarkus Armbruster2015-02-04 18:33:01 +0100
committerAndreas Färber2015-02-16 16:17:57 +0100
commitc4bacafb717de55538311b80a185ce9166b8daa2 (patch)
tree3fc31bdb2687f24b0817f5f0e31a9dd70a63acf5 /hw/ide/isa.c
parentqom: Fix typo, 'my_class_init' -> 'derived_class_init' (diff)
downloadqemu-c4bacafb717de55538311b80a185ce9166b8daa2.tar.gz
qemu-c4bacafb717de55538311b80a185ce9166b8daa2.tar.xz
qemu-c4bacafb717de55538311b80a185ce9166b8daa2.zip
qdev: Improve qdev_init_nofail()'s error reporting
We get two error messages: a specific one from qdev_init(), and a generic one from qdev_init_nofail(). The specific one gets suppressed in QMP context. qdev_init_nofail() failing there is a bug, though. Cut out the qdev_init() middle-man: realize the device, and on error exit with a single error message. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/ide/isa.c')
0 files changed, 0 insertions, 0 deletions