]> git.proxmox.com Git - mirror_qemu.git/commit - hw/usb/dev-storage.c
dev-storage: convert init to realize
authorGonglei <arei.gonglei@huawei.com>
Fri, 19 Sep 2014 06:48:29 +0000 (14:48 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 23 Sep 2014 10:51:07 +0000 (12:51 +0200)
commit5a882e40d57e791316ac88127f0576a1d518c2f9
tree3f9ce00ae09a78986df66e7d45e65b255d7eacbd
parentf3f8c45972b9d8697e1a2f8bee1b3a1001b2afbf
dev-storage: 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/dev-storage.c