summaryrefslogtreecommitdiffstats
path: root/hw/timer/sh_timer.c
diff options
context:
space:
mode:
authorBandan Das2018-07-20 23:40:18 +0200
committerGerd Hoffmann2018-08-21 10:27:59 +0200
commitd33e3e4bf8df7a7f1bd538bc19d17c8c21f14df2 (patch)
treef61e031602899dafaa77fd2f98c27b89d2a84c2a /hw/timer/sh_timer.c
parentdev-mtp: fix buffer allocation for writing file contents (diff)
downloadqemu-d33e3e4bf8df7a7f1bd538bc19d17c8c21f14df2.tar.gz
qemu-d33e3e4bf8df7a7f1bd538bc19d17c8c21f14df2.tar.xz
qemu-d33e3e4bf8df7a7f1bd538bc19d17c8c21f14df2.zip
dev-mtp: retry write for incomplete transfers
For large buffers, write may not copy the full buffer. For example, on Linux, write imposes a limit of 0x7ffff000. Note that this does not fix >4G transfers but ~>2G files will transfer successfully. Signed-off-by: Bandan Das <bsd@redhat.com> Message-id: 20180720214020.22897-4-bsd@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/timer/sh_timer.c')
0 files changed, 0 insertions, 0 deletions