diff options
author | Bandan Das <bsd@redhat.com> | 2019-01-29 08:19:06 -0500 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-30 06:47:52 +0100 |
commit | 179fcf8a83a91c74e323b1fe1b5397520a8af047 (patch) | |
tree | 2548aca0f2af6bcba6f1b1a89df89013f43bf606 /hw/net | |
parent | b4329d1a2a42d3c49ac4b76ec86b6c9db19ea1e9 (diff) | |
download | 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 'hw/net')
0 files changed, 0 insertions, 0 deletions