aboutsummaryrefslogtreecommitdiff
path: root/tpm.c
diff options
context:
space:
mode:
authorBandan Das <bsd@redhat.com>2018-07-20 17:40:18 -0400
committerGerd Hoffmann <kraxel@redhat.com>2018-08-21 10:27:59 +0200
commitd33e3e4bf8df7a7f1bd538bc19d17c8c21f14df2 (patch)
treef61e031602899dafaa77fd2f98c27b89d2a84c2a /tpm.c
parent406f35d7fcf5f029780d2e0cc9fa0cc37856d57c (diff)
downloadqemu-d33e3e4bf8df7a7f1bd538bc19d17c8c21f14df2.zip
qemu-d33e3e4bf8df7a7f1bd538bc19d17c8c21f14df2.tar.gz
qemu-d33e3e4bf8df7a7f1bd538bc19d17c8c21f14df2.tar.bz2
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 'tpm.c')
0 files changed, 0 insertions, 0 deletions