summaryrefslogtreecommitdiff
path: root/hw/ide
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-02-04 18:33:01 +0100
committerAndreas Färber <afaerber@suse.de>2015-02-16 16:17:57 +0100
commitc4bacafb717de55538311b80a185ce9166b8daa2 (patch)
tree3fc31bdb2687f24b0817f5f0e31a9dd70a63acf5 /hw/ide
parentf824e8ed03cfcda55531206b2ee6fce62a7206f3 (diff)
downloadqemu-c4bacafb717de55538311b80a185ce9166b8daa2.tar.gz
qemu-c4bacafb717de55538311b80a185ce9166b8daa2.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions