Searched hist:"535770518 f85e6e8b912c262492a251053491637" (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/usb/ |
H A D | bus.c | 535770518f85e6e8b912c262492a251053491637 Wed Jun 10 05:32:18 UTC 2020 Markus Armbruster <armbru@redhat.com> usb: Eliminate usb_try_create_simple()
usb_try_create_simple() is qdev_try_new() and qdev_realize_and_unref() with more verbose error messages. Of its two users, one ignores errors, and the other asserts they are impossible.
Make them use qdev_try_new() and qdev_realize_and_unref() directly, and eliminate usb_try_create_simple
Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20200610053247.1583243-30-armbru@redhat.com>
|