aboutsummaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authorMatthew Garrett <matthew.garrett@nebula.com>2013-11-25 14:42:43 -0500
committerJuan Quintela <quintela@redhat.com>2014-01-13 12:39:48 +0100
commit40596834c0d57a223124a956ccbe39dfeadc9f0e (patch)
treebc2556f6ac09cfa0eb58b15ef32c52c8bb388d47 /cpus.c
parent51cf4c1a99a172679c2949a2d58a2a4ee307b557 (diff)
migration: Fix rate limit
The migration thread appears to want to allow writeout to occur at full speed rather than being rate limited during completion of state saving, but sets the limit to INT_MAX when xfer_limit is INT64_MAX. This causes problems if there's more than 2GB of state left to save at this point. It probably ought to just be INT64_MAX instead. Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions