libusb: convert init to realize
commit2aa76dc18c38e6965df99faac94061a1c83b2fef
authorGonglei <arei.gonglei@huawei.com>
Fri, 19 Sep 2014 06:48:26 +0000 (19 14:48 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 23 Sep 2014 10:51:07 +0000 (23 12:51 +0200)
tree46ddfd5d86c42dc939198c0c39a95dccef9c49c7
parentd73ad359901c9b8ee7b4f1df0124956a0a4c853b
libusb: convert init to realize

In this way, all the implementations now use
error_setg instead of error_report for reporting error.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/host-libusb.c