mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 03:43:37 +08:00
use XFER_LIMIT_RATIO consistently
commit 5b4e1eb769
missed this use.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
9c339485f0
commit
f65a874756
@ -650,7 +650,7 @@ static int64_t buffered_set_rate_limit(void *opaque, int64_t new_rate)
|
||||
new_rate = SIZE_MAX;
|
||||
}
|
||||
|
||||
s->xfer_limit = new_rate / 10;
|
||||
s->xfer_limit = new_rate / XFER_LIMIT_RATIO;
|
||||
|
||||
out:
|
||||
return s->xfer_limit;
|
||||
|
Loading…
Reference in New Issue
Block a user