projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cd089e
)
usb/uas: more verbose error message
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 31 Jan 2017 13:52:06 +0000
(14:52 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 6 Feb 2017 09:23:17 +0000
(10:23 +0100)
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
hw/usb/dev-uas.c
patch
|
blob
|
history
diff --git
a/hw/usb/dev-uas.c
b/hw/usb/dev-uas.c
index 3a8ff18b1ba0c77937a73a850e756d5398a24c33..da2fb7017e3913aea16b9fc221e48aef2a4ae7c0 100644
(file)
--- a/
hw/usb/dev-uas.c
+++ b/
hw/usb/dev-uas.c
@@
-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;
}