mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue