Check return value of qdev_init()
authorMarkus Armbruster <armbru@redhat.com>
Tue, 6 Oct 2009 23:15:57 +0000 (01:15 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 7 Oct 2009 13:54:54 +0000 (08:54 -0500)
commit967d568cc9bf06ca1b2c93596493c90cb57191c1
treea356cfe20774dbc9e6107d8824414c1ea75599ce
parent960e08aa505294c98444073a1f9e5c5b85bc0528
Check return value of qdev_init()

But do so only where it may actually fail.  Leave the rest for the
next commit.

Patchworks-ID: 35167
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci-hotplug.c
hw/pci.c
hw/scsi-bus.c
hw/usb-msd.c
usb-linux.c