]> git.ipfire.org Git - thirdparty/qemu.git/commit
stream: fix ratelimit_set_speed
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 24 Oct 2012 10:10:47 +0000 (12:10 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 3 Dec 2012 21:02:28 +0000 (15:02 -0600)
commit178ef3a43ad24d074c683e2fe0658e589747c823
treec58e3f29b04ccdfe987e3e8d0203e80c9c7fb953
parentcd00334f1ae587aee146517af295adbfd7ab702a
stream: fix ratelimit_set_speed

The formula to compute slice_quota was wrong since commit 6ef228fc.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit e3980e28bb888bf643054770452998d1b4319609)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
include/qemu/ratelimit.h