summaryrefslogtreecommitdiffstats
path: root/util/range.c
diff options
context:
space:
mode:
authorBandan Das2019-01-29 14:19:06 +0100
committerGerd Hoffmann2019-01-30 06:47:52 +0100
commit179fcf8a83a91c74e323b1fe1b5397520a8af047 (patch)
tree2548aca0f2af6bcba6f1b1a89df89013f43bf606 /util/range.c
parentusb: implement XHCI underrun/overrun events (diff)
downloadqemu-179fcf8a83a91c74e323b1fe1b5397520a8af047.tar.gz
qemu-179fcf8a83a91c74e323b1fe1b5397520a8af047.tar.xz
qemu-179fcf8a83a91c74e323b1fe1b5397520a8af047.zip
usb-mtp: Reallocate buffer in multiples of MTP_WRITE_BUF_SZ
This is a "pre-patch" to breaking up the write buffer for MTP writes. Instead of allocating a mtp buffer equal to size sent by the initiator, we start with a small size and reallocate multiples (of that small size) as needed. Signed-off-by: Bandan Das <bsd@redhat.com> Message-id: 20190129131908.27924-2-bsd@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'util/range.c')
0 files changed, 0 insertions, 0 deletions