]> git.proxmox.com Git - qemu.git/commit - usb-linux.c
usb-linux: split large xfers
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 16 May 2011 08:21:51 +0000 (10:21 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 26 May 2011 09:55:02 +0000 (11:55 +0200)
commit71138531d3b19a211d63170d78592513f14ae59b
treee56818dd1dad77a90dd51a46f23960e298abd46d
parent227ebeb5353681b206a74db44530e60a46c24275
usb-linux: split large xfers

Add support for splitting large transfers into multiple smaller ones.
This is needed for the upcoming EHCI emulation which allows guests
to submit requests up to 20k in size.  The linux kernel allows 16k
max size though.

Based on a patch from David Ahern, see
http://www.mail-archive.com/qemu-devel@nongnu.org/msg30337.html

Cc: David Ahern <daahern@cisco.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-linux.c