mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
usb/uas: more verbose error message
Print some more details in case we get a unknown control request, to ease trouble-shooting. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 1485870727-21956-1-git-send-email-kraxel@redhat.com
This commit is contained in:
parent
0cd089e937
commit
e306b2fd3b
1 changed files with 2 additions and 1 deletions
|
@ -653,7 +653,8 @@ static void usb_uas_handle_control(USBDevice *dev, USBPacket *p,
|
|||
if (ret >= 0) {
|
||||
return;
|
||||
}
|
||||
error_report("%s: unhandled control request", __func__);
|
||||
error_report("%s: unhandled control request (req 0x%x, val 0x%x, idx 0x%x",
|
||||
__func__, request, value, index);
|
||||
p->status = USB_RET_STALL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue