Hi,

On 12/02/2010 12:04 PM, Gerd Hoffmann wrote:
Hi,

But the event driven-ness is from the device driver for the
host controller pov, and usb redirection is dealing with usb
at the device level / emulating a usb device. Has much changed
(other then speed) for the way usb looks from the device pov ?

One new thing in usb3 are streams for bulk xfers 
(Documentation/usb/bulk-streams.txt in the linux kernel source tree has a 
summary). Also superspeed iso packets can be less than maximum size (IIRC this 
isn't the case for usb2).

State transitions are a bit different. Also the address assignment: The xHCI 
handles the address assignment itself whereas with uhci/ehci the guest os 
handles this.


Thanks for the input. I've tried to take bulk streams into account, see the RFC 
I just send to the list.

Duh, this reminds me that I should have put a stream_id field in the bulk 
packer header, here is an updated
struct:

struct usb_redir_bulk_packet_header {
    uint64_t pid;
    uint8_t endpoint;
    uint8_t status;
    uint16_t data_size;
    uint32_t stream_id;
}

Regards,

Hans
_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to