usb: Propagate errors through usb_register_companion()
commitf4bbaaf584ed8d0a430b467bace15f338cba4c57
authorMarkus Armbruster <armbru@redhat.com>
Tue, 17 Feb 2015 13:28:02 +0000 (17 14:28 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Mar 2015 13:11:42 +0000 (17 14:11 +0100)
treeea99c54741464dba6c0f851c6ab4673eb463a8e5
parent5a4992834daec85c3913654903fb9f4f954e585a
usb: Propagate errors through usb_register_companion()

This loses the messages explaining the error printed with
error_printf_unless_qmp().  The next commit will make up for the loss.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/bus.c
hw/usb/hcd-ehci.c
hw/usb/hcd-ohci.c
hw/usb/hcd-uhci.c
include/hw/usb.h