summary refs log tree commit diff stats
path: root/qemu-file-unix.c
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2014-09-18 21:06:17 +0800
committerMichael S. Tsirkin <mst@redhat.com>2014-09-29 19:44:04 +0300
commit22b80e85ff7d6150beefe06bb43d9b14ac4deb05 (patch)
tree11696663f33e75a44f6ac0d07f4dbdb34410357f /qemu-file-unix.c
parent45363e46aeebfc99753389649eac7c7fc22bfe52 (diff)
downloadfocaccia-qemu-22b80e85ff7d6150beefe06bb43d9b14ac4deb05.tar.gz
focaccia-qemu-22b80e85ff7d6150beefe06bb43d9b14ac4deb05.zip
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 'qemu-file-unix.c')
0 files changed, 0 insertions, 0 deletions