qdev: show name of device that fails init
commitc8cd1fcd668f514a84f5e6d93a8e6f19c082708a
authorAmit Shah <amit.shah@redhat.com>
Tue, 29 Sep 2009 10:21:03 +0000 (29 15:51 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:52 +0000 (5 09:32 -0500)
tree4c3a1784300bbad1761b407ff4e9e84507d9a195
parentfa0cfdf24a75f3e6aa6c8b6efcbebd09e7f054aa
qdev: show name of device that fails init

When initialising a device fails, show the name of the failing device.

The current behaviour is to silently exit on such errors.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c