projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c33948
)
use XFER_LIMIT_RATIO consistently
author
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 20 Dec 2012 10:31:03 +0000
(11:31 +0100)
committer
Juan Quintela
<quintela@redhat.com>
Thu, 17 Jan 2013 12:53:31 +0000
(13:53 +0100)
commit
5b4e1eb769eee892b44d3f6b2369b05196442f59
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>
migration.c
patch
|
blob
|
history
diff --git
a/migration.c
b/migration.c
index c69e864fcd77b22441322aa9d7b18f7df6fd5462..d6ec3e8fdc1307eafd8bfa61cebc4ca8e8ed469f 100644
(file)
--- a/
migration.c
+++ b/
migration.c
@@
-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;