Commit f65a8747 authored by Paolo Bonzini's avatar Paolo Bonzini Committed by Juan Quintela
Browse files

use XFER_LIMIT_RATIO consistently

commit 5b4e1eb7



missed this use.
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
Reviewed-by: default avatarReviewed-by: Eric Blake <eblake@redhat.com>
parent 9c339485
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment