Re: [Qemu-devel] [PATCH 3/5] dev-mtp: retry write for incomplete transfers

2018-10-19 Thread Thomas Huth
On 2018-07-20 23:40, Bandan Das wrote: > For large buffers, write may not copy the full buffer. For example, > on Linux, write imposes a limit of 0x7000. Note that this does > not fix >4G transfers but ~>2G files will transfer successfully. > > Signed-off-by: Bandan Das > --- > hw/usb/dev-mt

Re: [Qemu-devel] [PATCH 3/5] dev-mtp: retry write for incomplete transfers

2018-08-07 Thread Bandan Das
Gerd Hoffmann writes: > On Fri, Jul 20, 2018 at 05:40:18PM -0400, Bandan Das wrote: >> For large buffers, write may not copy the full buffer. For example, >> on Linux, write imposes a limit of 0x7000. Note that this does >> not fix >4G transfers but ~>2G files will transfer successfully. > >

Re: [Qemu-devel] [PATCH 3/5] dev-mtp: retry write for incomplete transfers

2018-08-07 Thread Gerd Hoffmann
On Fri, Jul 20, 2018 at 05:40:18PM -0400, Bandan Das wrote: > For large buffers, write may not copy the full buffer. For example, > on Linux, write imposes a limit of 0x7000. Note that this does > not fix >4G transfers but ~>2G files will transfer successfully. Hmm, I guess it would be a good

[Qemu-devel] [PATCH 3/5] dev-mtp: retry write for incomplete transfers

2018-07-20 Thread Bandan Das
For large buffers, write may not copy the full buffer. For example, on Linux, write imposes a limit of 0x7000. Note that this does not fix >4G transfers but ~>2G files will transfer successfully. Signed-off-by: Bandan Das --- hw/usb/dev-mtp.c | 22 -- 1 file changed, 20 i