diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-09-18 21:06:17 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-09-29 19:44:04 +0300 |
commit | 22b80e85ff7d6150beefe06bb43d9b14ac4deb05 (patch) | |
tree | 11696663f33e75a44f6ac0d07f4dbdb34410357f /hw/mem | |
parent | 45363e46aeebfc99753389649eac7c7fc22bfe52 (diff) |
pci-hotplug-old: avoid losing error message
When scsi_bus_legacy_add_drive() produces an error,
we will lose the error message. Using error_report
to report it.
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/mem')
0 files changed, 0 insertions, 0 deletions