History | View | Annotate | Download (22.7 kB)
usb: add serial bus property
This patch adds a serial property for all usb devices, which can beused to set the serial number of a usb device (as listed by lsusb -v)to a specific value. Applies to emulated devices only.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
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 dropthe redundant error message in usb_desc_attach, usb_device_attach willreport the error anyway....
usb: fix endpoint descriptor ordering
Fix the ordering of the endpoint descriptors for superspeed endpoints:The superspeed companion must come first, possible additionaldescriptors for the endpoint after that.
usb: split packet result into actual_length + status
Since with the ehci and xhci controllers a single packet can be largerthen maxpacketsize, it is possible for the result of a single packetto be both having transferred some data as well as the transfer to have...
usb3: superspeed descriptors
Add superspeed descriptor entry to USBDesc,advertise superspeed support when present.
usb3: superspeed endpoint companion
Add support for building superspeed endpoint companion descriptors,create them for superspeed usb devices.
usb3: bos decriptor
Add support for creating BOS descriptor anddevice cappability descriptors.
qdev: Use wrapper for qdev_get_path
This makes it easier to remove it from BusInfo.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>[AF: Drop now unnecessary NULL initialization in scsibus_get_dev_path()]...
usb: add serial number generator
This patch adds a function which creates unique serial numbers for usbdevices and puts it into use. Windows guests tend to become unhappy ifthey find two identical usb devices in the system. Effects range fromnon-functional devices (with yellow exclamation mark in device manager)...
usb: add USBDescriptor, use for device descriptors.
This patch adds a new type for the binary representation of usbdescriptors. It is put into use for the descriptor generator codewhere the struct replaces the hard-coded offsets.
usb: use USBDescriptor for device qualifier descriptors.
Add device qualifier substruct to USBDescriptor,use it in the descriptor generator code.
usb: use USBDescriptor for config descriptors.
Add config descriptor substruct to USBDescriptor,use it in the descriptor generator code.
usb: use USBDescriptor for interface descriptors.
Add interface descriptor substruct to USBDescriptor,use it in the descriptor generator code.
usb: use USBDescriptor for endpoint descriptors.
Add endpoint descriptor substruct to USBDescriptor,use it in the descriptor generator code.
usb: the big rename
Reorganize usb source files. Create a new hw/usb/ directory and moveall usb source code to that place. Also make filenames a bit moredescriptive. Host adapters are prefixed with "hch-" now, usb deviceemulations are prefixed with "dev-". Fixup paths Makefile and include...