diff options
author | Bandan Das | 2019-01-29 14:19:06 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2019-01-30 06:47:52 +0100 |
commit | 179fcf8a83a91c74e323b1fe1b5397520a8af047 (patch) | |
tree | 2548aca0f2af6bcba6f1b1a89df89013f43bf606 /qemu-io-cmds.c | |
parent | usb: implement XHCI underrun/overrun events (diff) | |
download | qemu-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 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions