]> git.ipfire.org Git - thirdparty/qemu.git/commit
buffered_file: do not send more than s->bytes_xfer bytes per tick
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Nov 2012 11:48:19 +0000 (12:48 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 16 Jan 2013 04:38:00 +0000 (22:38 -0600)
commitff0c079c1425b004019ab33f4ba1339d9ea365d2
treead17383dc2476c25a5ed0f3d7bde9ac306e23f7a
parentd745511fc91c71d62cc96f99f5b1b69aed501bb5
buffered_file: do not send more than s->bytes_xfer bytes per tick

Sending more was possible if the buffer was large.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
(cherry picked from commit bde54c08b4854aceee3dee25121a2b835cb81166)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
buffered_file.c