aboutsummaryrefslogtreecommitdiff
path: root/qerror.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-01-18 14:40:45 +0000
committerKevin Wolf <kwolf@redhat.com>2012-01-26 11:45:26 +0100
commit5094a6c016f6e7a4fc800816d716e10ce2331396 (patch)
tree5e4bf84bc906e65691479f910e3bdb3a71bd0a45 /qerror.c
parent4f1043b4ffdd6f130cab7c1d8d59d833a475adac (diff)
block: rate-limit streaming operations
This patch implements rate-limiting for image streaming. If we've exceeded the bandwidth quota for a 100 ms time slice we sleep the coroutine until the next slice begins. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qerror.c')
0 files changed, 0 insertions, 0 deletions