diff options
author | Gerd Hoffmann | 2013-04-18 11:57:21 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2013-04-23 08:43:10 +0200 |
commit | 3b7e759a4110690c9617b1ffa6a7c96a343a330d (patch) | |
tree | 9c25bc23d516efee566ae1e027e5dbf3968c74fa /trace-events | |
parent | ehci_free_packet: Discard finished packets when the queue is halted (diff) | |
download | qemu-3b7e759a4110690c9617b1ffa6a7c96a343a330d.tar.gz qemu-3b7e759a4110690c9617b1ffa6a7c96a343a330d.tar.xz qemu-3b7e759a4110690c9617b1ffa6a7c96a343a330d.zip |
usb: better speed mismatch error reporting
Report the supported speeds for device and port in the error message.
Also add the speeds to the tracepoint. And while being at it drop
the redundant error message in usb_desc_attach, usb_device_attach will
report the error anyway.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r-- | trace-events | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-events b/trace-events index e587487a3b..ffaa3f472e 100644 --- a/trace-events +++ b/trace-events @@ -277,7 +277,7 @@ usb_packet_state_fault(int bus, const char *port, int ep, void *p, const char *o # hw/usb/bus.c usb_port_claim(int bus, const char *port) "bus %d, port %s" -usb_port_attach(int bus, const char *port) "bus %d, port %s" +usb_port_attach(int bus, const char *port, const char *devspeed, const char *portspeed) "bus %d, port %s, devspeed %s, portspeed %s" usb_port_detach(int bus, const char *port) "bus %d, port %s" usb_port_release(int bus, const char *port) "bus %d, port %s" |