usb-redir: convert init to realize
commit77e35b4bbe8ac2cfa3545c9f3ad3d8716b60ddf2
authorGonglei <arei.gonglei@huawei.com>
Fri, 19 Sep 2014 06:48:39 +0000 (19 14:48 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 23 Sep 2014 10:51:07 +0000 (23 12:51 +0200)
tree35b776a96a9326e4009132758226bf5bbd7d8d08
parent5450eeaaad8e27a6cd2b5c4bd55404e50ed1426b
usb-redir: convert init to realize

In this way, all the implementations now use
error_setg instead of qerror_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/redirect.c